package com.teamall.web.xtgl.db.arg;

import java.util.*;
import java.math.*;
import org.apache.commons.lang.*;

public class CodeFamilyMemberToImprArg {
    private String pk_name = "vid";

    private String orderByClause;

    private String groupByClause;

    private String columns;

    private String countsql1;

    private String countsql2;

    private boolean distinct;

    private int rowStart = 0;

    private int rowEnd = 10;

    private List<CodeFamilyMemberToImprCriteria> oredCriteria;

    public CodeFamilyMemberToImprArg() {
        oredCriteria = new ArrayList<CodeFamilyMemberToImprCriteria>();
    }

    public void setPk_name(String pk_name) {
        this.pk_name = StringEscapeUtils.escapeSql(pk_name);
    }

    public String getPk_name() {
        return pk_name;
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = StringEscapeUtils.escapeSql(orderByClause);
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setGroupByClause(String groupByClause) {
        this.groupByClause = StringEscapeUtils.escapeSql(groupByClause);
    }

    public String geGroupByClause() {
        return groupByClause;
    }

    public void setColumns(String columns) {
        this.columns = StringEscapeUtils.escapeSql(columns);
    }

    public String geColumns() {
        return columns;
    }

    public void setCountsql1(String countsql1) {
        this.countsql1 = StringEscapeUtils.escapeSql(countsql1);
    }

    public String geCountsql1() {
        return countsql1;
    }

    public void setCountsql2(String countsql2) {
        this.countsql2 = StringEscapeUtils.escapeSql(countsql2);
    }

    public String geCountsql2() {
        return countsql2;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public void setRowStart(int rowStart) {
        this.rowStart = rowStart;
    }

    public void setRowEnd(int rowEnd) {
        this.rowEnd = rowEnd;
    }

    public int getRowStart() {
        return rowStart;
    }

    public int getRowEnd() {
        return rowEnd;
    }

    public List<CodeFamilyMemberToImprCriteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(CodeFamilyMemberToImprCriteria criteria) {
        oredCriteria.add(criteria);
    }

    public CodeFamilyMemberToImprCriteria or() {
    	CodeFamilyMemberToImprCriteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public CodeFamilyMemberToImprCriteria createCriteria() {
    	CodeFamilyMemberToImprCriteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected CodeFamilyMemberToImprCriteria createCriteriaInternal() {
    	CodeFamilyMemberToImprCriteria criteria = new CodeFamilyMemberToImprCriteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        groupByClause = null;
        columns = null;
        countsql1 = null;
        countsql2 = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<CodeFamilyMemberToImprCriterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<CodeFamilyMemberToImprCriterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<CodeFamilyMemberToImprCriterion> getAllCriteria() {
            return criteria;
        }

        public List<CodeFamilyMemberToImprCriterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new CodeFamilyMemberToImprCriterion(condition));
        }

        protected void addCriterion(String condition, Object value,
                String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property
                        + " cannot be null");
            }
            criteria.add(new CodeFamilyMemberToImprCriterion(condition, value));
        }

        protected void addCriterion(String condition, Object value,
                String property, int likeType) {
            if (value == null) {
                throw new RuntimeException("Value for " + property
                        + " cannot be null");
            }
            criteria.add(new CodeFamilyMemberToImprCriterion(condition, value, likeType));
        }

        protected void addCriterion(String condition, Object value1,
                Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property
                        + " cannot be null");
            }
            criteria.add(new CodeFamilyMemberToImprCriterion(condition, value1, value2));
        }

        public CodeFamilyMemberToImprCriteria andCriterionEqualTo(String criterion) {
            if (StringUtils.isBlank(criterion)) {
                criterion = "1=1";
            }
            addCriterion(criterion);
            return (CodeFamilyMemberToImprCriteria) this;
        }
        public CodeFamilyMemberToImprCriteria andVidIsNull() {
            addCriterion("vid is null");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andVidIsNotNull() {
            addCriterion("vid is not null");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andVidEqualTo(String value) {
            addCriterion("vid =", value, "vid");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andVidNotEqualTo(String value) {
            addCriterion("vid <>", value, "vid");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andVidGreaterThan(String value) {
            addCriterion("vid >", value, "vid");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andVidGreaterThanOrEqualTo(String value) {
            addCriterion("vid >=", value, "vid");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andVidLessThan(String value) {
            addCriterion("vid <", value, "vid");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andVidLessThanOrEqualTo(String value) {
            addCriterion("vid <=", value, "vid");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andVidLike(String value) {
            addCriterion("vid like ", value, "vid", 1);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andVidNotLike(String value) {
            addCriterion("vid  not like ", value, "vid", 1);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andVidLeftLike(String value) {
            addCriterion("vid like ", value, "vid", 0);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andVidNotLeftLike(String value) {
            addCriterion("vid  not like ", value, "vid", 0);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andVidRightLike(String value) {
            addCriterion("vid like ", value, "vid", 2);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andVidNotRightLike(String value) {
            addCriterion("vid  not like ", value, "vid", 2);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andVidIn(List<String> values) {
            addCriterion("vid  in ", values, "vid");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andVidNotIn(List<String> values) {
            addCriterion("vid not in ", values, "vid");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andVidBetween(String value1, String value2) {
            addCriterion("vid between ", value1, value2, "vid");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andVidNotBetween(String value1, String value2) {
            addCriterion("vid not between ", value1, value2, "vid");
            return (CodeFamilyMemberToImprCriteria) this;
        }
        public CodeFamilyMemberToImprCriteria andProvinceNameIsNull() {
            addCriterion("province_name is null");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andProvinceNameIsNotNull() {
            addCriterion("province_name is not null");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andProvinceNameEqualTo(String value) {
            addCriterion("province_name =", value, "province_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andProvinceNameNotEqualTo(String value) {
            addCriterion("province_name <>", value, "province_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andProvinceNameGreaterThan(String value) {
            addCriterion("province_name >", value, "province_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andProvinceNameGreaterThanOrEqualTo(String value) {
            addCriterion("province_name >=", value, "province_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andProvinceNameLessThan(String value) {
            addCriterion("province_name <", value, "province_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andProvinceNameLessThanOrEqualTo(String value) {
            addCriterion("province_name <=", value, "province_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andProvinceNameLike(String value) {
            addCriterion("province_name like ", value, "province_name", 1);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andProvinceNameNotLike(String value) {
            addCriterion("province_name  not like ", value, "province_name", 1);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andProvinceNameLeftLike(String value) {
            addCriterion("province_name like ", value, "province_name", 0);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andProvinceNameNotLeftLike(String value) {
            addCriterion("province_name  not like ", value, "province_name", 0);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andProvinceNameRightLike(String value) {
            addCriterion("province_name like ", value, "province_name", 2);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andProvinceNameNotRightLike(String value) {
            addCriterion("province_name  not like ", value, "province_name", 2);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andProvinceNameIn(List<String> values) {
            addCriterion("province_name  in ", values, "province_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andProvinceNameNotIn(List<String> values) {
            addCriterion("province_name not in ", values, "province_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andProvinceNameBetween(String value1, String value2) {
            addCriterion("province_name between ", value1, value2, "province_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andProvinceNameNotBetween(String value1, String value2) {
            addCriterion("province_name not between ", value1, value2, "province_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }
        public CodeFamilyMemberToImprCriteria andCityNameIsNull() {
            addCriterion("city_name is null");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andCityNameIsNotNull() {
            addCriterion("city_name is not null");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andCityNameEqualTo(String value) {
            addCriterion("city_name =", value, "city_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andCityNameNotEqualTo(String value) {
            addCriterion("city_name <>", value, "city_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andCityNameGreaterThan(String value) {
            addCriterion("city_name >", value, "city_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andCityNameGreaterThanOrEqualTo(String value) {
            addCriterion("city_name >=", value, "city_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andCityNameLessThan(String value) {
            addCriterion("city_name <", value, "city_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andCityNameLessThanOrEqualTo(String value) {
            addCriterion("city_name <=", value, "city_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andCityNameLike(String value) {
            addCriterion("city_name like ", value, "city_name", 1);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andCityNameNotLike(String value) {
            addCriterion("city_name  not like ", value, "city_name", 1);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andCityNameLeftLike(String value) {
            addCriterion("city_name like ", value, "city_name", 0);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andCityNameNotLeftLike(String value) {
            addCriterion("city_name  not like ", value, "city_name", 0);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andCityNameRightLike(String value) {
            addCriterion("city_name like ", value, "city_name", 2);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andCityNameNotRightLike(String value) {
            addCriterion("city_name  not like ", value, "city_name", 2);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andCityNameIn(List<String> values) {
            addCriterion("city_name  in ", values, "city_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andCityNameNotIn(List<String> values) {
            addCriterion("city_name not in ", values, "city_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andCityNameBetween(String value1, String value2) {
            addCriterion("city_name between ", value1, value2, "city_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andCityNameNotBetween(String value1, String value2) {
            addCriterion("city_name not between ", value1, value2, "city_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }
        public CodeFamilyMemberToImprCriteria andCountryNameIsNull() {
            addCriterion("country_name is null");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andCountryNameIsNotNull() {
            addCriterion("country_name is not null");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andCountryNameEqualTo(String value) {
            addCriterion("country_name =", value, "country_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andCountryNameNotEqualTo(String value) {
            addCriterion("country_name <>", value, "country_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andCountryNameGreaterThan(String value) {
            addCriterion("country_name >", value, "country_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andCountryNameGreaterThanOrEqualTo(String value) {
            addCriterion("country_name >=", value, "country_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andCountryNameLessThan(String value) {
            addCriterion("country_name <", value, "country_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andCountryNameLessThanOrEqualTo(String value) {
            addCriterion("country_name <=", value, "country_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andCountryNameLike(String value) {
            addCriterion("country_name like ", value, "country_name", 1);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andCountryNameNotLike(String value) {
            addCriterion("country_name  not like ", value, "country_name", 1);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andCountryNameLeftLike(String value) {
            addCriterion("country_name like ", value, "country_name", 0);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andCountryNameNotLeftLike(String value) {
            addCriterion("country_name  not like ", value, "country_name", 0);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andCountryNameRightLike(String value) {
            addCriterion("country_name like ", value, "country_name", 2);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andCountryNameNotRightLike(String value) {
            addCriterion("country_name  not like ", value, "country_name", 2);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andCountryNameIn(List<String> values) {
            addCriterion("country_name  in ", values, "country_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andCountryNameNotIn(List<String> values) {
            addCriterion("country_name not in ", values, "country_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andCountryNameBetween(String value1, String value2) {
            addCriterion("country_name between ", value1, value2, "country_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andCountryNameNotBetween(String value1, String value2) {
            addCriterion("country_name not between ", value1, value2, "country_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }
        public CodeFamilyMemberToImprCriteria andTownIdIsNull() {
            addCriterion("TOWN_ID is null");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andTownIdIsNotNull() {
            addCriterion("TOWN_ID is not null");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andTownIdEqualTo(Integer value) {
            addCriterion("TOWN_ID =", value, "TOWN_ID");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andTownIdNotEqualTo(Integer value) {
            addCriterion("TOWN_ID <>", value, "TOWN_ID");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andTownIdGreaterThan(Integer value) {
            addCriterion("TOWN_ID >", value, "TOWN_ID");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andTownIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("TOWN_ID >=", value, "TOWN_ID");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andTownIdLessThan(Integer value) {
            addCriterion("TOWN_ID <", value, "TOWN_ID");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andTownIdLessThanOrEqualTo(Integer value) {
            addCriterion("TOWN_ID <=", value, "TOWN_ID");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andTownIdLike(Integer value) {
            addCriterion("TOWN_ID like ", value, "TOWN_ID", 1);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andTownIdNotLike(Integer value) {
            addCriterion("TOWN_ID  not like ", value, "TOWN_ID", 1);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andTownIdLeftLike(Integer value) {
            addCriterion("TOWN_ID like ", value, "TOWN_ID", 0);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andTownIdNotLeftLike(Integer value) {
            addCriterion("TOWN_ID  not like ", value, "TOWN_ID", 0);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andTownIdRightLike(Integer value) {
            addCriterion("TOWN_ID like ", value, "TOWN_ID", 2);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andTownIdNotRightLike(Integer value) {
            addCriterion("TOWN_ID  not like ", value, "TOWN_ID", 2);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andTownIdIn(List<Integer> values) {
            addCriterion("TOWN_ID  in ", values, "TOWN_ID");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andTownIdNotIn(List<Integer> values) {
            addCriterion("TOWN_ID not in ", values, "TOWN_ID");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andTownIdBetween(Integer value1, Integer value2) {
            addCriterion("TOWN_ID between ", value1, value2, "TOWN_ID");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andTownIdNotBetween(Integer value1, Integer value2) {
            addCriterion("TOWN_ID not between ", value1, value2, "TOWN_ID");
            return (CodeFamilyMemberToImprCriteria) this;
        }
        public CodeFamilyMemberToImprCriteria andTownNameIsNull() {
            addCriterion("town_name is null");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andTownNameIsNotNull() {
            addCriterion("town_name is not null");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andTownNameEqualTo(String value) {
            addCriterion("town_name =", value, "town_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andTownNameNotEqualTo(String value) {
            addCriterion("town_name <>", value, "town_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andTownNameGreaterThan(String value) {
            addCriterion("town_name >", value, "town_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andTownNameGreaterThanOrEqualTo(String value) {
            addCriterion("town_name >=", value, "town_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andTownNameLessThan(String value) {
            addCriterion("town_name <", value, "town_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andTownNameLessThanOrEqualTo(String value) {
            addCriterion("town_name <=", value, "town_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andTownNameLike(String value) {
            addCriterion("town_name like ", value, "town_name", 1);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andTownNameNotLike(String value) {
            addCriterion("town_name  not like ", value, "town_name", 1);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andTownNameLeftLike(String value) {
            addCriterion("town_name like ", value, "town_name", 0);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andTownNameNotLeftLike(String value) {
            addCriterion("town_name  not like ", value, "town_name", 0);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andTownNameRightLike(String value) {
            addCriterion("town_name like ", value, "town_name", 2);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andTownNameNotRightLike(String value) {
            addCriterion("town_name  not like ", value, "town_name", 2);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andTownNameIn(List<String> values) {
            addCriterion("town_name  in ", values, "town_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andTownNameNotIn(List<String> values) {
            addCriterion("town_name not in ", values, "town_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andTownNameBetween(String value1, String value2) {
            addCriterion("town_name between ", value1, value2, "town_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andTownNameNotBetween(String value1, String value2) {
            addCriterion("town_name not between ", value1, value2, "town_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }
        public CodeFamilyMemberToImprCriteria andVillageNameIsNull() {
            addCriterion("village_name is null");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andVillageNameIsNotNull() {
            addCriterion("village_name is not null");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andVillageNameEqualTo(String value) {
            addCriterion("village_name =", value, "village_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andVillageNameNotEqualTo(String value) {
            addCriterion("village_name <>", value, "village_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andVillageNameGreaterThan(String value) {
            addCriterion("village_name >", value, "village_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andVillageNameGreaterThanOrEqualTo(String value) {
            addCriterion("village_name >=", value, "village_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andVillageNameLessThan(String value) {
            addCriterion("village_name <", value, "village_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andVillageNameLessThanOrEqualTo(String value) {
            addCriterion("village_name <=", value, "village_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andVillageNameLike(String value) {
            addCriterion("village_name like ", value, "village_name", 1);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andVillageNameNotLike(String value) {
            addCriterion("village_name  not like ", value, "village_name", 1);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andVillageNameLeftLike(String value) {
            addCriterion("village_name like ", value, "village_name", 0);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andVillageNameNotLeftLike(String value) {
            addCriterion("village_name  not like ", value, "village_name", 0);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andVillageNameRightLike(String value) {
            addCriterion("village_name like ", value, "village_name", 2);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andVillageNameNotRightLike(String value) {
            addCriterion("village_name  not like ", value, "village_name", 2);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andVillageNameIn(List<String> values) {
            addCriterion("village_name  in ", values, "village_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andVillageNameNotIn(List<String> values) {
            addCriterion("village_name not in ", values, "village_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andVillageNameBetween(String value1, String value2) {
            addCriterion("village_name between ", value1, value2, "village_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andVillageNameNotBetween(String value1, String value2) {
            addCriterion("village_name not between ", value1, value2, "village_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }
        public CodeFamilyMemberToImprCriteria andFamilyCodeIsNull() {
            addCriterion("family_code is null");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andFamilyCodeIsNotNull() {
            addCriterion("family_code is not null");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andFamilyCodeEqualTo(String value) {
            addCriterion("family_code =", value, "family_code");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andFamilyCodeNotEqualTo(String value) {
            addCriterion("family_code <>", value, "family_code");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andFamilyCodeGreaterThan(String value) {
            addCriterion("family_code >", value, "family_code");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andFamilyCodeGreaterThanOrEqualTo(String value) {
            addCriterion("family_code >=", value, "family_code");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andFamilyCodeLessThan(String value) {
            addCriterion("family_code <", value, "family_code");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andFamilyCodeLessThanOrEqualTo(String value) {
            addCriterion("family_code <=", value, "family_code");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andFamilyCodeLike(String value) {
            addCriterion("family_code like ", value, "family_code", 1);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andFamilyCodeNotLike(String value) {
            addCriterion("family_code  not like ", value, "family_code", 1);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andFamilyCodeLeftLike(String value) {
            addCriterion("family_code like ", value, "family_code", 0);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andFamilyCodeNotLeftLike(String value) {
            addCriterion("family_code  not like ", value, "family_code", 0);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andFamilyCodeRightLike(String value) {
            addCriterion("family_code like ", value, "family_code", 2);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andFamilyCodeNotRightLike(String value) {
            addCriterion("family_code  not like ", value, "family_code", 2);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andFamilyCodeIn(List<String> values) {
            addCriterion("family_code  in ", values, "family_code");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andFamilyCodeNotIn(List<String> values) {
            addCriterion("family_code not in ", values, "family_code");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andFamilyCodeBetween(String value1, String value2) {
            addCriterion("family_code between ", value1, value2, "family_code");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andFamilyCodeNotBetween(String value1, String value2) {
            addCriterion("family_code not between ", value1, value2, "family_code");
            return (CodeFamilyMemberToImprCriteria) this;
        }
        public CodeFamilyMemberToImprCriteria andPersonCodeIsNull() {
            addCriterion("person_code is null");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andPersonCodeIsNotNull() {
            addCriterion("person_code is not null");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andPersonCodeEqualTo(String value) {
            addCriterion("person_code =", value, "person_code");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andPersonCodeNotEqualTo(String value) {
            addCriterion("person_code <>", value, "person_code");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andPersonCodeGreaterThan(String value) {
            addCriterion("person_code >", value, "person_code");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andPersonCodeGreaterThanOrEqualTo(String value) {
            addCriterion("person_code >=", value, "person_code");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andPersonCodeLessThan(String value) {
            addCriterion("person_code <", value, "person_code");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andPersonCodeLessThanOrEqualTo(String value) {
            addCriterion("person_code <=", value, "person_code");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andPersonCodeLike(String value) {
            addCriterion("person_code like ", value, "person_code", 1);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andPersonCodeNotLike(String value) {
            addCriterion("person_code  not like ", value, "person_code", 1);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andPersonCodeLeftLike(String value) {
            addCriterion("person_code like ", value, "person_code", 0);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andPersonCodeNotLeftLike(String value) {
            addCriterion("person_code  not like ", value, "person_code", 0);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andPersonCodeRightLike(String value) {
            addCriterion("person_code like ", value, "person_code", 2);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andPersonCodeNotRightLike(String value) {
            addCriterion("person_code  not like ", value, "person_code", 2);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andPersonCodeIn(List<String> values) {
            addCriterion("person_code  in ", values, "person_code");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andPersonCodeNotIn(List<String> values) {
            addCriterion("person_code not in ", values, "person_code");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andPersonCodeBetween(String value1, String value2) {
            addCriterion("person_code between ", value1, value2, "person_code");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andPersonCodeNotBetween(String value1, String value2) {
            addCriterion("person_code not between ", value1, value2, "person_code");
            return (CodeFamilyMemberToImprCriteria) this;
        }
        public CodeFamilyMemberToImprCriteria andNameIsNull() {
            addCriterion("name is null");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andNameIsNotNull() {
            addCriterion("name is not null");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andNameEqualTo(String value) {
            addCriterion("name =", value, "name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andNameNotEqualTo(String value) {
            addCriterion("name <>", value, "name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andNameGreaterThan(String value) {
            addCriterion("name >", value, "name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andNameGreaterThanOrEqualTo(String value) {
            addCriterion("name >=", value, "name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andNameLessThan(String value) {
            addCriterion("name <", value, "name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andNameLessThanOrEqualTo(String value) {
            addCriterion("name <=", value, "name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andNameLike(String value) {
            addCriterion("name like ", value, "name", 1);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andNameNotLike(String value) {
            addCriterion("name  not like ", value, "name", 1);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andNameLeftLike(String value) {
            addCriterion("name like ", value, "name", 0);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andNameNotLeftLike(String value) {
            addCriterion("name  not like ", value, "name", 0);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andNameRightLike(String value) {
            addCriterion("name like ", value, "name", 2);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andNameNotRightLike(String value) {
            addCriterion("name  not like ", value, "name", 2);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andNameIn(List<String> values) {
            addCriterion("name  in ", values, "name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andNameNotIn(List<String> values) {
            addCriterion("name not in ", values, "name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andNameBetween(String value1, String value2) {
            addCriterion("name between ", value1, value2, "name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andNameNotBetween(String value1, String value2) {
            addCriterion("name not between ", value1, value2, "name");
            return (CodeFamilyMemberToImprCriteria) this;
        }
        public CodeFamilyMemberToImprCriteria andGenderNameIsNull() {
            addCriterion("gender_name is null");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andGenderNameIsNotNull() {
            addCriterion("gender_name is not null");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andGenderNameEqualTo(String value) {
            addCriterion("gender_name =", value, "gender_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andGenderNameNotEqualTo(String value) {
            addCriterion("gender_name <>", value, "gender_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andGenderNameGreaterThan(String value) {
            addCriterion("gender_name >", value, "gender_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andGenderNameGreaterThanOrEqualTo(String value) {
            addCriterion("gender_name >=", value, "gender_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andGenderNameLessThan(String value) {
            addCriterion("gender_name <", value, "gender_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andGenderNameLessThanOrEqualTo(String value) {
            addCriterion("gender_name <=", value, "gender_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andGenderNameLike(String value) {
            addCriterion("gender_name like ", value, "gender_name", 1);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andGenderNameNotLike(String value) {
            addCriterion("gender_name  not like ", value, "gender_name", 1);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andGenderNameLeftLike(String value) {
            addCriterion("gender_name like ", value, "gender_name", 0);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andGenderNameNotLeftLike(String value) {
            addCriterion("gender_name  not like ", value, "gender_name", 0);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andGenderNameRightLike(String value) {
            addCriterion("gender_name like ", value, "gender_name", 2);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andGenderNameNotRightLike(String value) {
            addCriterion("gender_name  not like ", value, "gender_name", 2);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andGenderNameIn(List<String> values) {
            addCriterion("gender_name  in ", values, "gender_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andGenderNameNotIn(List<String> values) {
            addCriterion("gender_name not in ", values, "gender_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andGenderNameBetween(String value1, String value2) {
            addCriterion("gender_name between ", value1, value2, "gender_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andGenderNameNotBetween(String value1, String value2) {
            addCriterion("gender_name not between ", value1, value2, "gender_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }
        public CodeFamilyMemberToImprCriteria andIdNumberIsNull() {
            addCriterion("id_number is null");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andIdNumberIsNotNull() {
            addCriterion("id_number is not null");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andIdNumberEqualTo(String value) {
            addCriterion("id_number =", value, "id_number");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andIdNumberNotEqualTo(String value) {
            addCriterion("id_number <>", value, "id_number");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andIdNumberGreaterThan(String value) {
            addCriterion("id_number >", value, "id_number");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andIdNumberGreaterThanOrEqualTo(String value) {
            addCriterion("id_number >=", value, "id_number");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andIdNumberLessThan(String value) {
            addCriterion("id_number <", value, "id_number");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andIdNumberLessThanOrEqualTo(String value) {
            addCriterion("id_number <=", value, "id_number");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andIdNumberLike(String value) {
            addCriterion("id_number like ", value, "id_number", 1);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andIdNumberNotLike(String value) {
            addCriterion("id_number  not like ", value, "id_number", 1);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andIdNumberLeftLike(String value) {
            addCriterion("id_number like ", value, "id_number", 0);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andIdNumberNotLeftLike(String value) {
            addCriterion("id_number  not like ", value, "id_number", 0);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andIdNumberRightLike(String value) {
            addCriterion("id_number like ", value, "id_number", 2);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andIdNumberNotRightLike(String value) {
            addCriterion("id_number  not like ", value, "id_number", 2);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andIdNumberIn(List<String> values) {
            addCriterion("id_number  in ", values, "id_number");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andIdNumberNotIn(List<String> values) {
            addCriterion("id_number not in ", values, "id_number");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andIdNumberBetween(String value1, String value2) {
            addCriterion("id_number between ", value1, value2, "id_number");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andIdNumberNotBetween(String value1, String value2) {
            addCriterion("id_number not between ", value1, value2, "id_number");
            return (CodeFamilyMemberToImprCriteria) this;
        }
        public CodeFamilyMemberToImprCriteria andPersonNumIsNull() {
            addCriterion("person_num is null");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andPersonNumIsNotNull() {
            addCriterion("person_num is not null");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andPersonNumEqualTo(Integer value) {
            addCriterion("person_num =", value, "person_num");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andPersonNumNotEqualTo(Integer value) {
            addCriterion("person_num <>", value, "person_num");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andPersonNumGreaterThan(Integer value) {
            addCriterion("person_num >", value, "person_num");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andPersonNumGreaterThanOrEqualTo(Integer value) {
            addCriterion("person_num >=", value, "person_num");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andPersonNumLessThan(Integer value) {
            addCriterion("person_num <", value, "person_num");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andPersonNumLessThanOrEqualTo(Integer value) {
            addCriterion("person_num <=", value, "person_num");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andPersonNumLike(Integer value) {
            addCriterion("person_num like ", value, "person_num", 1);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andPersonNumNotLike(Integer value) {
            addCriterion("person_num  not like ", value, "person_num", 1);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andPersonNumLeftLike(Integer value) {
            addCriterion("person_num like ", value, "person_num", 0);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andPersonNumNotLeftLike(Integer value) {
            addCriterion("person_num  not like ", value, "person_num", 0);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andPersonNumRightLike(Integer value) {
            addCriterion("person_num like ", value, "person_num", 2);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andPersonNumNotRightLike(Integer value) {
            addCriterion("person_num  not like ", value, "person_num", 2);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andPersonNumIn(List<Integer> values) {
            addCriterion("person_num  in ", values, "person_num");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andPersonNumNotIn(List<Integer> values) {
            addCriterion("person_num not in ", values, "person_num");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andPersonNumBetween(Integer value1, Integer value2) {
            addCriterion("person_num between ", value1, value2, "person_num");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andPersonNumNotBetween(Integer value1, Integer value2) {
            addCriterion("person_num not between ", value1, value2, "person_num");
            return (CodeFamilyMemberToImprCriteria) this;
        }
        public CodeFamilyMemberToImprCriteria andMasterRelNameIsNull() {
            addCriterion("master_rel_name is null");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andMasterRelNameIsNotNull() {
            addCriterion("master_rel_name is not null");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andMasterRelNameEqualTo(String value) {
            addCriterion("master_rel_name =", value, "master_rel_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andMasterRelNameNotEqualTo(String value) {
            addCriterion("master_rel_name <>", value, "master_rel_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andMasterRelNameGreaterThan(String value) {
            addCriterion("master_rel_name >", value, "master_rel_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andMasterRelNameGreaterThanOrEqualTo(String value) {
            addCriterion("master_rel_name >=", value, "master_rel_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andMasterRelNameLessThan(String value) {
            addCriterion("master_rel_name <", value, "master_rel_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andMasterRelNameLessThanOrEqualTo(String value) {
            addCriterion("master_rel_name <=", value, "master_rel_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andMasterRelNameLike(String value) {
            addCriterion("master_rel_name like ", value, "master_rel_name", 1);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andMasterRelNameNotLike(String value) {
            addCriterion("master_rel_name  not like ", value, "master_rel_name", 1);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andMasterRelNameLeftLike(String value) {
            addCriterion("master_rel_name like ", value, "master_rel_name", 0);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andMasterRelNameNotLeftLike(String value) {
            addCriterion("master_rel_name  not like ", value, "master_rel_name", 0);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andMasterRelNameRightLike(String value) {
            addCriterion("master_rel_name like ", value, "master_rel_name", 2);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andMasterRelNameNotRightLike(String value) {
            addCriterion("master_rel_name  not like ", value, "master_rel_name", 2);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andMasterRelNameIn(List<String> values) {
            addCriterion("master_rel_name  in ", values, "master_rel_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andMasterRelNameNotIn(List<String> values) {
            addCriterion("master_rel_name not in ", values, "master_rel_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andMasterRelNameBetween(String value1, String value2) {
            addCriterion("master_rel_name between ", value1, value2, "master_rel_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andMasterRelNameNotBetween(String value1, String value2) {
            addCriterion("master_rel_name not between ", value1, value2, "master_rel_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }
        public CodeFamilyMemberToImprCriteria andNationNameIsNull() {
            addCriterion("nation_name is null");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andNationNameIsNotNull() {
            addCriterion("nation_name is not null");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andNationNameEqualTo(String value) {
            addCriterion("nation_name =", value, "nation_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andNationNameNotEqualTo(String value) {
            addCriterion("nation_name <>", value, "nation_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andNationNameGreaterThan(String value) {
            addCriterion("nation_name >", value, "nation_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andNationNameGreaterThanOrEqualTo(String value) {
            addCriterion("nation_name >=", value, "nation_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andNationNameLessThan(String value) {
            addCriterion("nation_name <", value, "nation_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andNationNameLessThanOrEqualTo(String value) {
            addCriterion("nation_name <=", value, "nation_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andNationNameLike(String value) {
            addCriterion("nation_name like ", value, "nation_name", 1);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andNationNameNotLike(String value) {
            addCriterion("nation_name  not like ", value, "nation_name", 1);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andNationNameLeftLike(String value) {
            addCriterion("nation_name like ", value, "nation_name", 0);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andNationNameNotLeftLike(String value) {
            addCriterion("nation_name  not like ", value, "nation_name", 0);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andNationNameRightLike(String value) {
            addCriterion("nation_name like ", value, "nation_name", 2);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andNationNameNotRightLike(String value) {
            addCriterion("nation_name  not like ", value, "nation_name", 2);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andNationNameIn(List<String> values) {
            addCriterion("nation_name  in ", values, "nation_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andNationNameNotIn(List<String> values) {
            addCriterion("nation_name not in ", values, "nation_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andNationNameBetween(String value1, String value2) {
            addCriterion("nation_name between ", value1, value2, "nation_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andNationNameNotBetween(String value1, String value2) {
            addCriterion("nation_name not between ", value1, value2, "nation_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }
        public CodeFamilyMemberToImprCriteria andEducationLevelNameIsNull() {
            addCriterion("education_level_name is null");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andEducationLevelNameIsNotNull() {
            addCriterion("education_level_name is not null");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andEducationLevelNameEqualTo(String value) {
            addCriterion("education_level_name =", value, "education_level_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andEducationLevelNameNotEqualTo(String value) {
            addCriterion("education_level_name <>", value, "education_level_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andEducationLevelNameGreaterThan(String value) {
            addCriterion("education_level_name >", value, "education_level_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andEducationLevelNameGreaterThanOrEqualTo(String value) {
            addCriterion("education_level_name >=", value, "education_level_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andEducationLevelNameLessThan(String value) {
            addCriterion("education_level_name <", value, "education_level_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andEducationLevelNameLessThanOrEqualTo(String value) {
            addCriterion("education_level_name <=", value, "education_level_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andEducationLevelNameLike(String value) {
            addCriterion("education_level_name like ", value, "education_level_name", 1);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andEducationLevelNameNotLike(String value) {
            addCriterion("education_level_name  not like ", value, "education_level_name", 1);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andEducationLevelNameLeftLike(String value) {
            addCriterion("education_level_name like ", value, "education_level_name", 0);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andEducationLevelNameNotLeftLike(String value) {
            addCriterion("education_level_name  not like ", value, "education_level_name", 0);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andEducationLevelNameRightLike(String value) {
            addCriterion("education_level_name like ", value, "education_level_name", 2);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andEducationLevelNameNotRightLike(String value) {
            addCriterion("education_level_name  not like ", value, "education_level_name", 2);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andEducationLevelNameIn(List<String> values) {
            addCriterion("education_level_name  in ", values, "education_level_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andEducationLevelNameNotIn(List<String> values) {
            addCriterion("education_level_name not in ", values, "education_level_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andEducationLevelNameBetween(String value1, String value2) {
            addCriterion("education_level_name between ", value1, value2, "education_level_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andEducationLevelNameNotBetween(String value1, String value2) {
            addCriterion("education_level_name not between ", value1, value2, "education_level_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }
        public CodeFamilyMemberToImprCriteria andStudentStateNameIsNull() {
            addCriterion("student_state_name is null");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andStudentStateNameIsNotNull() {
            addCriterion("student_state_name is not null");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andStudentStateNameEqualTo(String value) {
            addCriterion("student_state_name =", value, "student_state_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andStudentStateNameNotEqualTo(String value) {
            addCriterion("student_state_name <>", value, "student_state_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andStudentStateNameGreaterThan(String value) {
            addCriterion("student_state_name >", value, "student_state_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andStudentStateNameGreaterThanOrEqualTo(String value) {
            addCriterion("student_state_name >=", value, "student_state_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andStudentStateNameLessThan(String value) {
            addCriterion("student_state_name <", value, "student_state_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andStudentStateNameLessThanOrEqualTo(String value) {
            addCriterion("student_state_name <=", value, "student_state_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andStudentStateNameLike(String value) {
            addCriterion("student_state_name like ", value, "student_state_name", 1);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andStudentStateNameNotLike(String value) {
            addCriterion("student_state_name  not like ", value, "student_state_name", 1);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andStudentStateNameLeftLike(String value) {
            addCriterion("student_state_name like ", value, "student_state_name", 0);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andStudentStateNameNotLeftLike(String value) {
            addCriterion("student_state_name  not like ", value, "student_state_name", 0);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andStudentStateNameRightLike(String value) {
            addCriterion("student_state_name like ", value, "student_state_name", 2);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andStudentStateNameNotRightLike(String value) {
            addCriterion("student_state_name  not like ", value, "student_state_name", 2);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andStudentStateNameIn(List<String> values) {
            addCriterion("student_state_name  in ", values, "student_state_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andStudentStateNameNotIn(List<String> values) {
            addCriterion("student_state_name not in ", values, "student_state_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andStudentStateNameBetween(String value1, String value2) {
            addCriterion("student_state_name between ", value1, value2, "student_state_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andStudentStateNameNotBetween(String value1, String value2) {
            addCriterion("student_state_name not between ", value1, value2, "student_state_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }
        public CodeFamilyMemberToImprCriteria andHealthStateNameIsNull() {
            addCriterion("health_state_name is null");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andHealthStateNameIsNotNull() {
            addCriterion("health_state_name is not null");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andHealthStateNameEqualTo(String value) {
            addCriterion("health_state_name =", value, "health_state_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andHealthStateNameNotEqualTo(String value) {
            addCriterion("health_state_name <>", value, "health_state_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andHealthStateNameGreaterThan(String value) {
            addCriterion("health_state_name >", value, "health_state_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andHealthStateNameGreaterThanOrEqualTo(String value) {
            addCriterion("health_state_name >=", value, "health_state_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andHealthStateNameLessThan(String value) {
            addCriterion("health_state_name <", value, "health_state_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andHealthStateNameLessThanOrEqualTo(String value) {
            addCriterion("health_state_name <=", value, "health_state_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andHealthStateNameLike(String value) {
            addCriterion("health_state_name like ", value, "health_state_name", 1);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andHealthStateNameNotLike(String value) {
            addCriterion("health_state_name  not like ", value, "health_state_name", 1);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andHealthStateNameLeftLike(String value) {
            addCriterion("health_state_name like ", value, "health_state_name", 0);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andHealthStateNameNotLeftLike(String value) {
            addCriterion("health_state_name  not like ", value, "health_state_name", 0);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andHealthStateNameRightLike(String value) {
            addCriterion("health_state_name like ", value, "health_state_name", 2);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andHealthStateNameNotRightLike(String value) {
            addCriterion("health_state_name  not like ", value, "health_state_name", 2);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andHealthStateNameIn(List<String> values) {
            addCriterion("health_state_name  in ", values, "health_state_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andHealthStateNameNotIn(List<String> values) {
            addCriterion("health_state_name not in ", values, "health_state_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andHealthStateNameBetween(String value1, String value2) {
            addCriterion("health_state_name between ", value1, value2, "health_state_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andHealthStateNameNotBetween(String value1, String value2) {
            addCriterion("health_state_name not between ", value1, value2, "health_state_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }
        public CodeFamilyMemberToImprCriteria andWorkSkillNameIsNull() {
            addCriterion("work_skill_name is null");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andWorkSkillNameIsNotNull() {
            addCriterion("work_skill_name is not null");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andWorkSkillNameEqualTo(String value) {
            addCriterion("work_skill_name =", value, "work_skill_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andWorkSkillNameNotEqualTo(String value) {
            addCriterion("work_skill_name <>", value, "work_skill_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andWorkSkillNameGreaterThan(String value) {
            addCriterion("work_skill_name >", value, "work_skill_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andWorkSkillNameGreaterThanOrEqualTo(String value) {
            addCriterion("work_skill_name >=", value, "work_skill_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andWorkSkillNameLessThan(String value) {
            addCriterion("work_skill_name <", value, "work_skill_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andWorkSkillNameLessThanOrEqualTo(String value) {
            addCriterion("work_skill_name <=", value, "work_skill_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andWorkSkillNameLike(String value) {
            addCriterion("work_skill_name like ", value, "work_skill_name", 1);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andWorkSkillNameNotLike(String value) {
            addCriterion("work_skill_name  not like ", value, "work_skill_name", 1);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andWorkSkillNameLeftLike(String value) {
            addCriterion("work_skill_name like ", value, "work_skill_name", 0);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andWorkSkillNameNotLeftLike(String value) {
            addCriterion("work_skill_name  not like ", value, "work_skill_name", 0);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andWorkSkillNameRightLike(String value) {
            addCriterion("work_skill_name like ", value, "work_skill_name", 2);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andWorkSkillNameNotRightLike(String value) {
            addCriterion("work_skill_name  not like ", value, "work_skill_name", 2);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andWorkSkillNameIn(List<String> values) {
            addCriterion("work_skill_name  in ", values, "work_skill_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andWorkSkillNameNotIn(List<String> values) {
            addCriterion("work_skill_name not in ", values, "work_skill_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andWorkSkillNameBetween(String value1, String value2) {
            addCriterion("work_skill_name between ", value1, value2, "work_skill_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andWorkSkillNameNotBetween(String value1, String value2) {
            addCriterion("work_skill_name not between ", value1, value2, "work_skill_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }
        public CodeFamilyMemberToImprCriteria andWorkStateNameIsNull() {
            addCriterion("work_state_name is null");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andWorkStateNameIsNotNull() {
            addCriterion("work_state_name is not null");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andWorkStateNameEqualTo(String value) {
            addCriterion("work_state_name =", value, "work_state_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andWorkStateNameNotEqualTo(String value) {
            addCriterion("work_state_name <>", value, "work_state_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andWorkStateNameGreaterThan(String value) {
            addCriterion("work_state_name >", value, "work_state_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andWorkStateNameGreaterThanOrEqualTo(String value) {
            addCriterion("work_state_name >=", value, "work_state_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andWorkStateNameLessThan(String value) {
            addCriterion("work_state_name <", value, "work_state_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andWorkStateNameLessThanOrEqualTo(String value) {
            addCriterion("work_state_name <=", value, "work_state_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andWorkStateNameLike(String value) {
            addCriterion("work_state_name like ", value, "work_state_name", 1);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andWorkStateNameNotLike(String value) {
            addCriterion("work_state_name  not like ", value, "work_state_name", 1);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andWorkStateNameLeftLike(String value) {
            addCriterion("work_state_name like ", value, "work_state_name", 0);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andWorkStateNameNotLeftLike(String value) {
            addCriterion("work_state_name  not like ", value, "work_state_name", 0);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andWorkStateNameRightLike(String value) {
            addCriterion("work_state_name like ", value, "work_state_name", 2);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andWorkStateNameNotRightLike(String value) {
            addCriterion("work_state_name  not like ", value, "work_state_name", 2);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andWorkStateNameIn(List<String> values) {
            addCriterion("work_state_name  in ", values, "work_state_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andWorkStateNameNotIn(List<String> values) {
            addCriterion("work_state_name not in ", values, "work_state_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andWorkStateNameBetween(String value1, String value2) {
            addCriterion("work_state_name between ", value1, value2, "work_state_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andWorkStateNameNotBetween(String value1, String value2) {
            addCriterion("work_state_name not between ", value1, value2, "work_state_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }
        public CodeFamilyMemberToImprCriteria andWorkMonthsIsNull() {
            addCriterion("work_months is null");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andWorkMonthsIsNotNull() {
            addCriterion("work_months is not null");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andWorkMonthsEqualTo(Integer value) {
            addCriterion("work_months =", value, "work_months");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andWorkMonthsNotEqualTo(Integer value) {
            addCriterion("work_months <>", value, "work_months");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andWorkMonthsGreaterThan(Integer value) {
            addCriterion("work_months >", value, "work_months");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andWorkMonthsGreaterThanOrEqualTo(Integer value) {
            addCriterion("work_months >=", value, "work_months");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andWorkMonthsLessThan(Integer value) {
            addCriterion("work_months <", value, "work_months");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andWorkMonthsLessThanOrEqualTo(Integer value) {
            addCriterion("work_months <=", value, "work_months");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andWorkMonthsLike(Integer value) {
            addCriterion("work_months like ", value, "work_months", 1);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andWorkMonthsNotLike(Integer value) {
            addCriterion("work_months  not like ", value, "work_months", 1);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andWorkMonthsLeftLike(Integer value) {
            addCriterion("work_months like ", value, "work_months", 0);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andWorkMonthsNotLeftLike(Integer value) {
            addCriterion("work_months  not like ", value, "work_months", 0);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andWorkMonthsRightLike(Integer value) {
            addCriterion("work_months like ", value, "work_months", 2);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andWorkMonthsNotRightLike(Integer value) {
            addCriterion("work_months  not like ", value, "work_months", 2);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andWorkMonthsIn(List<Integer> values) {
            addCriterion("work_months  in ", values, "work_months");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andWorkMonthsNotIn(List<Integer> values) {
            addCriterion("work_months not in ", values, "work_months");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andWorkMonthsBetween(Integer value1, Integer value2) {
            addCriterion("work_months between ", value1, value2, "work_months");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andWorkMonthsNotBetween(Integer value1, Integer value2) {
            addCriterion("work_months not between ", value1, value2, "work_months");
            return (CodeFamilyMemberToImprCriteria) this;
        }
        public CodeFamilyMemberToImprCriteria andIsInsuranceNameIsNull() {
            addCriterion("is_insurance_name is null");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andIsInsuranceNameIsNotNull() {
            addCriterion("is_insurance_name is not null");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andIsInsuranceNameEqualTo(String value) {
            addCriterion("is_insurance_name =", value, "is_insurance_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andIsInsuranceNameNotEqualTo(String value) {
            addCriterion("is_insurance_name <>", value, "is_insurance_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andIsInsuranceNameGreaterThan(String value) {
            addCriterion("is_insurance_name >", value, "is_insurance_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andIsInsuranceNameGreaterThanOrEqualTo(String value) {
            addCriterion("is_insurance_name >=", value, "is_insurance_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andIsInsuranceNameLessThan(String value) {
            addCriterion("is_insurance_name <", value, "is_insurance_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andIsInsuranceNameLessThanOrEqualTo(String value) {
            addCriterion("is_insurance_name <=", value, "is_insurance_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andIsInsuranceNameLike(String value) {
            addCriterion("is_insurance_name like ", value, "is_insurance_name", 1);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andIsInsuranceNameNotLike(String value) {
            addCriterion("is_insurance_name  not like ", value, "is_insurance_name", 1);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andIsInsuranceNameLeftLike(String value) {
            addCriterion("is_insurance_name like ", value, "is_insurance_name", 0);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andIsInsuranceNameNotLeftLike(String value) {
            addCriterion("is_insurance_name  not like ", value, "is_insurance_name", 0);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andIsInsuranceNameRightLike(String value) {
            addCriterion("is_insurance_name like ", value, "is_insurance_name", 2);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andIsInsuranceNameNotRightLike(String value) {
            addCriterion("is_insurance_name  not like ", value, "is_insurance_name", 2);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andIsInsuranceNameIn(List<String> values) {
            addCriterion("is_insurance_name  in ", values, "is_insurance_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andIsInsuranceNameNotIn(List<String> values) {
            addCriterion("is_insurance_name not in ", values, "is_insurance_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andIsInsuranceNameBetween(String value1, String value2) {
            addCriterion("is_insurance_name between ", value1, value2, "is_insurance_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andIsInsuranceNameNotBetween(String value1, String value2) {
            addCriterion("is_insurance_name not between ", value1, value2, "is_insurance_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }
        public CodeFamilyMemberToImprCriteria andIsNrcmsNameIsNull() {
            addCriterion("is_nrcms_name is null");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andIsNrcmsNameIsNotNull() {
            addCriterion("is_nrcms_name is not null");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andIsNrcmsNameEqualTo(String value) {
            addCriterion("is_nrcms_name =", value, "is_nrcms_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andIsNrcmsNameNotEqualTo(String value) {
            addCriterion("is_nrcms_name <>", value, "is_nrcms_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andIsNrcmsNameGreaterThan(String value) {
            addCriterion("is_nrcms_name >", value, "is_nrcms_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andIsNrcmsNameGreaterThanOrEqualTo(String value) {
            addCriterion("is_nrcms_name >=", value, "is_nrcms_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andIsNrcmsNameLessThan(String value) {
            addCriterion("is_nrcms_name <", value, "is_nrcms_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andIsNrcmsNameLessThanOrEqualTo(String value) {
            addCriterion("is_nrcms_name <=", value, "is_nrcms_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andIsNrcmsNameLike(String value) {
            addCriterion("is_nrcms_name like ", value, "is_nrcms_name", 1);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andIsNrcmsNameNotLike(String value) {
            addCriterion("is_nrcms_name  not like ", value, "is_nrcms_name", 1);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andIsNrcmsNameLeftLike(String value) {
            addCriterion("is_nrcms_name like ", value, "is_nrcms_name", 0);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andIsNrcmsNameNotLeftLike(String value) {
            addCriterion("is_nrcms_name  not like ", value, "is_nrcms_name", 0);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andIsNrcmsNameRightLike(String value) {
            addCriterion("is_nrcms_name like ", value, "is_nrcms_name", 2);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andIsNrcmsNameNotRightLike(String value) {
            addCriterion("is_nrcms_name  not like ", value, "is_nrcms_name", 2);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andIsNrcmsNameIn(List<String> values) {
            addCriterion("is_nrcms_name  in ", values, "is_nrcms_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andIsNrcmsNameNotIn(List<String> values) {
            addCriterion("is_nrcms_name not in ", values, "is_nrcms_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andIsNrcmsNameBetween(String value1, String value2) {
            addCriterion("is_nrcms_name between ", value1, value2, "is_nrcms_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andIsNrcmsNameNotBetween(String value1, String value2) {
            addCriterion("is_nrcms_name not between ", value1, value2, "is_nrcms_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }
        public CodeFamilyMemberToImprCriteria andIsEndowmentNameIsNull() {
            addCriterion("is_endowment_name is null");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andIsEndowmentNameIsNotNull() {
            addCriterion("is_endowment_name is not null");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andIsEndowmentNameEqualTo(String value) {
            addCriterion("is_endowment_name =", value, "is_endowment_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andIsEndowmentNameNotEqualTo(String value) {
            addCriterion("is_endowment_name <>", value, "is_endowment_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andIsEndowmentNameGreaterThan(String value) {
            addCriterion("is_endowment_name >", value, "is_endowment_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andIsEndowmentNameGreaterThanOrEqualTo(String value) {
            addCriterion("is_endowment_name >=", value, "is_endowment_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andIsEndowmentNameLessThan(String value) {
            addCriterion("is_endowment_name <", value, "is_endowment_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andIsEndowmentNameLessThanOrEqualTo(String value) {
            addCriterion("is_endowment_name <=", value, "is_endowment_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andIsEndowmentNameLike(String value) {
            addCriterion("is_endowment_name like ", value, "is_endowment_name", 1);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andIsEndowmentNameNotLike(String value) {
            addCriterion("is_endowment_name  not like ", value, "is_endowment_name", 1);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andIsEndowmentNameLeftLike(String value) {
            addCriterion("is_endowment_name like ", value, "is_endowment_name", 0);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andIsEndowmentNameNotLeftLike(String value) {
            addCriterion("is_endowment_name  not like ", value, "is_endowment_name", 0);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andIsEndowmentNameRightLike(String value) {
            addCriterion("is_endowment_name like ", value, "is_endowment_name", 2);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andIsEndowmentNameNotRightLike(String value) {
            addCriterion("is_endowment_name  not like ", value, "is_endowment_name", 2);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andIsEndowmentNameIn(List<String> values) {
            addCriterion("is_endowment_name  in ", values, "is_endowment_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andIsEndowmentNameNotIn(List<String> values) {
            addCriterion("is_endowment_name not in ", values, "is_endowment_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andIsEndowmentNameBetween(String value1, String value2) {
            addCriterion("is_endowment_name between ", value1, value2, "is_endowment_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andIsEndowmentNameNotBetween(String value1, String value2) {
            addCriterion("is_endowment_name not between ", value1, value2, "is_endowment_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }
        public CodeFamilyMemberToImprCriteria andIsCityEndowmentNameIsNull() {
            addCriterion("is_city_endowment_name is null");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andIsCityEndowmentNameIsNotNull() {
            addCriterion("is_city_endowment_name is not null");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andIsCityEndowmentNameEqualTo(String value) {
            addCriterion("is_city_endowment_name =", value, "is_city_endowment_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andIsCityEndowmentNameNotEqualTo(String value) {
            addCriterion("is_city_endowment_name <>", value, "is_city_endowment_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andIsCityEndowmentNameGreaterThan(String value) {
            addCriterion("is_city_endowment_name >", value, "is_city_endowment_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andIsCityEndowmentNameGreaterThanOrEqualTo(String value) {
            addCriterion("is_city_endowment_name >=", value, "is_city_endowment_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andIsCityEndowmentNameLessThan(String value) {
            addCriterion("is_city_endowment_name <", value, "is_city_endowment_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andIsCityEndowmentNameLessThanOrEqualTo(String value) {
            addCriterion("is_city_endowment_name <=", value, "is_city_endowment_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andIsCityEndowmentNameLike(String value) {
            addCriterion("is_city_endowment_name like ", value, "is_city_endowment_name", 1);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andIsCityEndowmentNameNotLike(String value) {
            addCriterion("is_city_endowment_name  not like ", value, "is_city_endowment_name", 1);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andIsCityEndowmentNameLeftLike(String value) {
            addCriterion("is_city_endowment_name like ", value, "is_city_endowment_name", 0);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andIsCityEndowmentNameNotLeftLike(String value) {
            addCriterion("is_city_endowment_name  not like ", value, "is_city_endowment_name", 0);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andIsCityEndowmentNameRightLike(String value) {
            addCriterion("is_city_endowment_name like ", value, "is_city_endowment_name", 2);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andIsCityEndowmentNameNotRightLike(String value) {
            addCriterion("is_city_endowment_name  not like ", value, "is_city_endowment_name", 2);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andIsCityEndowmentNameIn(List<String> values) {
            addCriterion("is_city_endowment_name  in ", values, "is_city_endowment_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andIsCityEndowmentNameNotIn(List<String> values) {
            addCriterion("is_city_endowment_name not in ", values, "is_city_endowment_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andIsCityEndowmentNameBetween(String value1, String value2) {
            addCriterion("is_city_endowment_name between ", value1, value2, "is_city_endowment_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andIsCityEndowmentNameNotBetween(String value1, String value2) {
            addCriterion("is_city_endowment_name not between ", value1, value2, "is_city_endowment_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }
        public CodeFamilyMemberToImprCriteria andPovertyStateNameIsNull() {
            addCriterion("poverty_state_name is null");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andPovertyStateNameIsNotNull() {
            addCriterion("poverty_state_name is not null");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andPovertyStateNameEqualTo(String value) {
            addCriterion("poverty_state_name =", value, "poverty_state_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andPovertyStateNameNotEqualTo(String value) {
            addCriterion("poverty_state_name <>", value, "poverty_state_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andPovertyStateNameGreaterThan(String value) {
            addCriterion("poverty_state_name >", value, "poverty_state_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andPovertyStateNameGreaterThanOrEqualTo(String value) {
            addCriterion("poverty_state_name >=", value, "poverty_state_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andPovertyStateNameLessThan(String value) {
            addCriterion("poverty_state_name <", value, "poverty_state_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andPovertyStateNameLessThanOrEqualTo(String value) {
            addCriterion("poverty_state_name <=", value, "poverty_state_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andPovertyStateNameLike(String value) {
            addCriterion("poverty_state_name like ", value, "poverty_state_name", 1);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andPovertyStateNameNotLike(String value) {
            addCriterion("poverty_state_name  not like ", value, "poverty_state_name", 1);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andPovertyStateNameLeftLike(String value) {
            addCriterion("poverty_state_name like ", value, "poverty_state_name", 0);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andPovertyStateNameNotLeftLike(String value) {
            addCriterion("poverty_state_name  not like ", value, "poverty_state_name", 0);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andPovertyStateNameRightLike(String value) {
            addCriterion("poverty_state_name like ", value, "poverty_state_name", 2);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andPovertyStateNameNotRightLike(String value) {
            addCriterion("poverty_state_name  not like ", value, "poverty_state_name", 2);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andPovertyStateNameIn(List<String> values) {
            addCriterion("poverty_state_name  in ", values, "poverty_state_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andPovertyStateNameNotIn(List<String> values) {
            addCriterion("poverty_state_name not in ", values, "poverty_state_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andPovertyStateNameBetween(String value1, String value2) {
            addCriterion("poverty_state_name between ", value1, value2, "poverty_state_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andPovertyStateNameNotBetween(String value1, String value2) {
            addCriterion("poverty_state_name not between ", value1, value2, "poverty_state_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }
        public CodeFamilyMemberToImprCriteria andPovertyAttrNameIsNull() {
            addCriterion("poverty_attr_name is null");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andPovertyAttrNameIsNotNull() {
            addCriterion("poverty_attr_name is not null");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andPovertyAttrNameEqualTo(String value) {
            addCriterion("poverty_attr_name =", value, "poverty_attr_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andPovertyAttrNameNotEqualTo(String value) {
            addCriterion("poverty_attr_name <>", value, "poverty_attr_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andPovertyAttrNameGreaterThan(String value) {
            addCriterion("poverty_attr_name >", value, "poverty_attr_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andPovertyAttrNameGreaterThanOrEqualTo(String value) {
            addCriterion("poverty_attr_name >=", value, "poverty_attr_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andPovertyAttrNameLessThan(String value) {
            addCriterion("poverty_attr_name <", value, "poverty_attr_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andPovertyAttrNameLessThanOrEqualTo(String value) {
            addCriterion("poverty_attr_name <=", value, "poverty_attr_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andPovertyAttrNameLike(String value) {
            addCriterion("poverty_attr_name like ", value, "poverty_attr_name", 1);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andPovertyAttrNameNotLike(String value) {
            addCriterion("poverty_attr_name  not like ", value, "poverty_attr_name", 1);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andPovertyAttrNameLeftLike(String value) {
            addCriterion("poverty_attr_name like ", value, "poverty_attr_name", 0);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andPovertyAttrNameNotLeftLike(String value) {
            addCriterion("poverty_attr_name  not like ", value, "poverty_attr_name", 0);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andPovertyAttrNameRightLike(String value) {
            addCriterion("poverty_attr_name like ", value, "poverty_attr_name", 2);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andPovertyAttrNameNotRightLike(String value) {
            addCriterion("poverty_attr_name  not like ", value, "poverty_attr_name", 2);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andPovertyAttrNameIn(List<String> values) {
            addCriterion("poverty_attr_name  in ", values, "poverty_attr_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andPovertyAttrNameNotIn(List<String> values) {
            addCriterion("poverty_attr_name not in ", values, "poverty_attr_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andPovertyAttrNameBetween(String value1, String value2) {
            addCriterion("poverty_attr_name between ", value1, value2, "poverty_attr_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andPovertyAttrNameNotBetween(String value1, String value2) {
            addCriterion("poverty_attr_name not between ", value1, value2, "poverty_attr_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }
        public CodeFamilyMemberToImprCriteria andMainReasonNameIsNull() {
            addCriterion("main_reason_name is null");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andMainReasonNameIsNotNull() {
            addCriterion("main_reason_name is not null");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andMainReasonNameEqualTo(String value) {
            addCriterion("main_reason_name =", value, "main_reason_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andMainReasonNameNotEqualTo(String value) {
            addCriterion("main_reason_name <>", value, "main_reason_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andMainReasonNameGreaterThan(String value) {
            addCriterion("main_reason_name >", value, "main_reason_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andMainReasonNameGreaterThanOrEqualTo(String value) {
            addCriterion("main_reason_name >=", value, "main_reason_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andMainReasonNameLessThan(String value) {
            addCriterion("main_reason_name <", value, "main_reason_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andMainReasonNameLessThanOrEqualTo(String value) {
            addCriterion("main_reason_name <=", value, "main_reason_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andMainReasonNameLike(String value) {
            addCriterion("main_reason_name like ", value, "main_reason_name", 1);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andMainReasonNameNotLike(String value) {
            addCriterion("main_reason_name  not like ", value, "main_reason_name", 1);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andMainReasonNameLeftLike(String value) {
            addCriterion("main_reason_name like ", value, "main_reason_name", 0);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andMainReasonNameNotLeftLike(String value) {
            addCriterion("main_reason_name  not like ", value, "main_reason_name", 0);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andMainReasonNameRightLike(String value) {
            addCriterion("main_reason_name like ", value, "main_reason_name", 2);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andMainReasonNameNotRightLike(String value) {
            addCriterion("main_reason_name  not like ", value, "main_reason_name", 2);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andMainReasonNameIn(List<String> values) {
            addCriterion("main_reason_name  in ", values, "main_reason_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andMainReasonNameNotIn(List<String> values) {
            addCriterion("main_reason_name not in ", values, "main_reason_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andMainReasonNameBetween(String value1, String value2) {
            addCriterion("main_reason_name between ", value1, value2, "main_reason_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andMainReasonNameNotBetween(String value1, String value2) {
            addCriterion("main_reason_name not between ", value1, value2, "main_reason_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }
        public CodeFamilyMemberToImprCriteria andAvgIncomeIsNull() {
            addCriterion("avg_income is null");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andAvgIncomeIsNotNull() {
            addCriterion("avg_income is not null");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andAvgIncomeEqualTo(BigDecimal value) {
            addCriterion("avg_income =", value, "avg_income");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andAvgIncomeNotEqualTo(BigDecimal value) {
            addCriterion("avg_income <>", value, "avg_income");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andAvgIncomeGreaterThan(BigDecimal value) {
            addCriterion("avg_income >", value, "avg_income");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andAvgIncomeGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("avg_income >=", value, "avg_income");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andAvgIncomeLessThan(BigDecimal value) {
            addCriterion("avg_income <", value, "avg_income");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andAvgIncomeLessThanOrEqualTo(BigDecimal value) {
            addCriterion("avg_income <=", value, "avg_income");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andAvgIncomeLike(BigDecimal value) {
            addCriterion("avg_income like ", value, "avg_income", 1);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andAvgIncomeNotLike(BigDecimal value) {
            addCriterion("avg_income  not like ", value, "avg_income", 1);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andAvgIncomeLeftLike(BigDecimal value) {
            addCriterion("avg_income like ", value, "avg_income", 0);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andAvgIncomeNotLeftLike(BigDecimal value) {
            addCriterion("avg_income  not like ", value, "avg_income", 0);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andAvgIncomeRightLike(BigDecimal value) {
            addCriterion("avg_income like ", value, "avg_income", 2);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andAvgIncomeNotRightLike(BigDecimal value) {
            addCriterion("avg_income  not like ", value, "avg_income", 2);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andAvgIncomeIn(List<BigDecimal> values) {
            addCriterion("avg_income  in ", values, "avg_income");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andAvgIncomeNotIn(List<BigDecimal> values) {
            addCriterion("avg_income not in ", values, "avg_income");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andAvgIncomeBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("avg_income between ", value1, value2, "avg_income");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andAvgIncomeNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("avg_income not between ", value1, value2, "avg_income");
            return (CodeFamilyMemberToImprCriteria) this;
        }
        public CodeFamilyMemberToImprCriteria andTelIsNull() {
            addCriterion("tel is null");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andTelIsNotNull() {
            addCriterion("tel is not null");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andTelEqualTo(String value) {
            addCriterion("tel =", value, "tel");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andTelNotEqualTo(String value) {
            addCriterion("tel <>", value, "tel");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andTelGreaterThan(String value) {
            addCriterion("tel >", value, "tel");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andTelGreaterThanOrEqualTo(String value) {
            addCriterion("tel >=", value, "tel");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andTelLessThan(String value) {
            addCriterion("tel <", value, "tel");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andTelLessThanOrEqualTo(String value) {
            addCriterion("tel <=", value, "tel");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andTelLike(String value) {
            addCriterion("tel like ", value, "tel", 1);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andTelNotLike(String value) {
            addCriterion("tel  not like ", value, "tel", 1);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andTelLeftLike(String value) {
            addCriterion("tel like ", value, "tel", 0);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andTelNotLeftLike(String value) {
            addCriterion("tel  not like ", value, "tel", 0);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andTelRightLike(String value) {
            addCriterion("tel like ", value, "tel", 2);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andTelNotRightLike(String value) {
            addCriterion("tel  not like ", value, "tel", 2);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andTelIn(List<String> values) {
            addCriterion("tel  in ", values, "tel");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andTelNotIn(List<String> values) {
            addCriterion("tel not in ", values, "tel");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andTelBetween(String value1, String value2) {
            addCriterion("tel between ", value1, value2, "tel");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andTelNotBetween(String value1, String value2) {
            addCriterion("tel not between ", value1, value2, "tel");
            return (CodeFamilyMemberToImprCriteria) this;
        }
        public CodeFamilyMemberToImprCriteria andBankNameIsNull() {
            addCriterion("bank_name is null");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andBankNameIsNotNull() {
            addCriterion("bank_name is not null");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andBankNameEqualTo(String value) {
            addCriterion("bank_name =", value, "bank_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andBankNameNotEqualTo(String value) {
            addCriterion("bank_name <>", value, "bank_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andBankNameGreaterThan(String value) {
            addCriterion("bank_name >", value, "bank_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andBankNameGreaterThanOrEqualTo(String value) {
            addCriterion("bank_name >=", value, "bank_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andBankNameLessThan(String value) {
            addCriterion("bank_name <", value, "bank_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andBankNameLessThanOrEqualTo(String value) {
            addCriterion("bank_name <=", value, "bank_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andBankNameLike(String value) {
            addCriterion("bank_name like ", value, "bank_name", 1);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andBankNameNotLike(String value) {
            addCriterion("bank_name  not like ", value, "bank_name", 1);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andBankNameLeftLike(String value) {
            addCriterion("bank_name like ", value, "bank_name", 0);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andBankNameNotLeftLike(String value) {
            addCriterion("bank_name  not like ", value, "bank_name", 0);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andBankNameRightLike(String value) {
            addCriterion("bank_name like ", value, "bank_name", 2);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andBankNameNotRightLike(String value) {
            addCriterion("bank_name  not like ", value, "bank_name", 2);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andBankNameIn(List<String> values) {
            addCriterion("bank_name  in ", values, "bank_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andBankNameNotIn(List<String> values) {
            addCriterion("bank_name not in ", values, "bank_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andBankNameBetween(String value1, String value2) {
            addCriterion("bank_name between ", value1, value2, "bank_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andBankNameNotBetween(String value1, String value2) {
            addCriterion("bank_name not between ", value1, value2, "bank_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }
        public CodeFamilyMemberToImprCriteria andAccountCodeIsNull() {
            addCriterion("account_code is null");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andAccountCodeIsNotNull() {
            addCriterion("account_code is not null");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andAccountCodeEqualTo(String value) {
            addCriterion("account_code =", value, "account_code");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andAccountCodeNotEqualTo(String value) {
            addCriterion("account_code <>", value, "account_code");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andAccountCodeGreaterThan(String value) {
            addCriterion("account_code >", value, "account_code");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andAccountCodeGreaterThanOrEqualTo(String value) {
            addCriterion("account_code >=", value, "account_code");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andAccountCodeLessThan(String value) {
            addCriterion("account_code <", value, "account_code");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andAccountCodeLessThanOrEqualTo(String value) {
            addCriterion("account_code <=", value, "account_code");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andAccountCodeLike(String value) {
            addCriterion("account_code like ", value, "account_code", 1);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andAccountCodeNotLike(String value) {
            addCriterion("account_code  not like ", value, "account_code", 1);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andAccountCodeLeftLike(String value) {
            addCriterion("account_code like ", value, "account_code", 0);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andAccountCodeNotLeftLike(String value) {
            addCriterion("account_code  not like ", value, "account_code", 0);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andAccountCodeRightLike(String value) {
            addCriterion("account_code like ", value, "account_code", 2);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andAccountCodeNotRightLike(String value) {
            addCriterion("account_code  not like ", value, "account_code", 2);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andAccountCodeIn(List<String> values) {
            addCriterion("account_code  in ", values, "account_code");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andAccountCodeNotIn(List<String> values) {
            addCriterion("account_code not in ", values, "account_code");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andAccountCodeBetween(String value1, String value2) {
            addCriterion("account_code between ", value1, value2, "account_code");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andAccountCodeNotBetween(String value1, String value2) {
            addCriterion("account_code not between ", value1, value2, "account_code");
            return (CodeFamilyMemberToImprCriteria) this;
        }
        public CodeFamilyMemberToImprCriteria andMemberTypeIsNull() {
            addCriterion("member_type is null");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andMemberTypeIsNotNull() {
            addCriterion("member_type is not null");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andMemberTypeEqualTo(Integer value) {
            addCriterion("member_type =", value, "member_type");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andMemberTypeNotEqualTo(Integer value) {
            addCriterion("member_type <>", value, "member_type");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andMemberTypeGreaterThan(Integer value) {
            addCriterion("member_type >", value, "member_type");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andMemberTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("member_type >=", value, "member_type");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andMemberTypeLessThan(Integer value) {
            addCriterion("member_type <", value, "member_type");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andMemberTypeLessThanOrEqualTo(Integer value) {
            addCriterion("member_type <=", value, "member_type");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andMemberTypeLike(Integer value) {
            addCriterion("member_type like ", value, "member_type", 1);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andMemberTypeNotLike(Integer value) {
            addCriterion("member_type  not like ", value, "member_type", 1);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andMemberTypeLeftLike(Integer value) {
            addCriterion("member_type like ", value, "member_type", 0);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andMemberTypeNotLeftLike(Integer value) {
            addCriterion("member_type  not like ", value, "member_type", 0);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andMemberTypeRightLike(Integer value) {
            addCriterion("member_type like ", value, "member_type", 2);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andMemberTypeNotRightLike(Integer value) {
            addCriterion("member_type  not like ", value, "member_type", 2);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andMemberTypeIn(List<Integer> values) {
            addCriterion("member_type  in ", values, "member_type");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andMemberTypeNotIn(List<Integer> values) {
            addCriterion("member_type not in ", values, "member_type");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andMemberTypeBetween(Integer value1, Integer value2) {
            addCriterion("member_type between ", value1, value2, "member_type");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andMemberTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("member_type not between ", value1, value2, "member_type");
            return (CodeFamilyMemberToImprCriteria) this;
        }
        public CodeFamilyMemberToImprCriteria andMemberTypeNameIsNull() {
            addCriterion("member_type_name is null");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andMemberTypeNameIsNotNull() {
            addCriterion("member_type_name is not null");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andMemberTypeNameEqualTo(String value) {
            addCriterion("member_type_name =", value, "member_type_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andMemberTypeNameNotEqualTo(String value) {
            addCriterion("member_type_name <>", value, "member_type_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andMemberTypeNameGreaterThan(String value) {
            addCriterion("member_type_name >", value, "member_type_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andMemberTypeNameGreaterThanOrEqualTo(String value) {
            addCriterion("member_type_name >=", value, "member_type_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andMemberTypeNameLessThan(String value) {
            addCriterion("member_type_name <", value, "member_type_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andMemberTypeNameLessThanOrEqualTo(String value) {
            addCriterion("member_type_name <=", value, "member_type_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andMemberTypeNameLike(String value) {
            addCriterion("member_type_name like ", value, "member_type_name", 1);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andMemberTypeNameNotLike(String value) {
            addCriterion("member_type_name  not like ", value, "member_type_name", 1);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andMemberTypeNameLeftLike(String value) {
            addCriterion("member_type_name like ", value, "member_type_name", 0);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andMemberTypeNameNotLeftLike(String value) {
            addCriterion("member_type_name  not like ", value, "member_type_name", 0);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andMemberTypeNameRightLike(String value) {
            addCriterion("member_type_name like ", value, "member_type_name", 2);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andMemberTypeNameNotRightLike(String value) {
            addCriterion("member_type_name  not like ", value, "member_type_name", 2);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andMemberTypeNameIn(List<String> values) {
            addCriterion("member_type_name  in ", values, "member_type_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andMemberTypeNameNotIn(List<String> values) {
            addCriterion("member_type_name not in ", values, "member_type_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andMemberTypeNameBetween(String value1, String value2) {
            addCriterion("member_type_name between ", value1, value2, "member_type_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andMemberTypeNameNotBetween(String value1, String value2) {
            addCriterion("member_type_name not between ", value1, value2, "member_type_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }
        public CodeFamilyMemberToImprCriteria andMasterRelIsNull() {
            addCriterion("master_rel is null");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andMasterRelIsNotNull() {
            addCriterion("master_rel is not null");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andMasterRelEqualTo(Integer value) {
            addCriterion("master_rel =", value, "master_rel");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andMasterRelNotEqualTo(Integer value) {
            addCriterion("master_rel <>", value, "master_rel");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andMasterRelGreaterThan(Integer value) {
            addCriterion("master_rel >", value, "master_rel");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andMasterRelGreaterThanOrEqualTo(Integer value) {
            addCriterion("master_rel >=", value, "master_rel");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andMasterRelLessThan(Integer value) {
            addCriterion("master_rel <", value, "master_rel");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andMasterRelLessThanOrEqualTo(Integer value) {
            addCriterion("master_rel <=", value, "master_rel");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andMasterRelLike(Integer value) {
            addCriterion("master_rel like ", value, "master_rel", 1);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andMasterRelNotLike(Integer value) {
            addCriterion("master_rel  not like ", value, "master_rel", 1);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andMasterRelLeftLike(Integer value) {
            addCriterion("master_rel like ", value, "master_rel", 0);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andMasterRelNotLeftLike(Integer value) {
            addCriterion("master_rel  not like ", value, "master_rel", 0);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andMasterRelRightLike(Integer value) {
            addCriterion("master_rel like ", value, "master_rel", 2);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andMasterRelNotRightLike(Integer value) {
            addCriterion("master_rel  not like ", value, "master_rel", 2);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andMasterRelIn(List<Integer> values) {
            addCriterion("master_rel  in ", values, "master_rel");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andMasterRelNotIn(List<Integer> values) {
            addCriterion("master_rel not in ", values, "master_rel");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andMasterRelBetween(Integer value1, Integer value2) {
            addCriterion("master_rel between ", value1, value2, "master_rel");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andMasterRelNotBetween(Integer value1, Integer value2) {
            addCriterion("master_rel not between ", value1, value2, "master_rel");
            return (CodeFamilyMemberToImprCriteria) this;
        }
        public CodeFamilyMemberToImprCriteria andNationIsNull() {
            addCriterion("nation is null");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andNationIsNotNull() {
            addCriterion("nation is not null");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andNationEqualTo(Integer value) {
            addCriterion("nation =", value, "nation");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andNationNotEqualTo(Integer value) {
            addCriterion("nation <>", value, "nation");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andNationGreaterThan(Integer value) {
            addCriterion("nation >", value, "nation");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andNationGreaterThanOrEqualTo(Integer value) {
            addCriterion("nation >=", value, "nation");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andNationLessThan(Integer value) {
            addCriterion("nation <", value, "nation");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andNationLessThanOrEqualTo(Integer value) {
            addCriterion("nation <=", value, "nation");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andNationLike(Integer value) {
            addCriterion("nation like ", value, "nation", 1);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andNationNotLike(Integer value) {
            addCriterion("nation  not like ", value, "nation", 1);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andNationLeftLike(Integer value) {
            addCriterion("nation like ", value, "nation", 0);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andNationNotLeftLike(Integer value) {
            addCriterion("nation  not like ", value, "nation", 0);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andNationRightLike(Integer value) {
            addCriterion("nation like ", value, "nation", 2);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andNationNotRightLike(Integer value) {
            addCriterion("nation  not like ", value, "nation", 2);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andNationIn(List<Integer> values) {
            addCriterion("nation  in ", values, "nation");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andNationNotIn(List<Integer> values) {
            addCriterion("nation not in ", values, "nation");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andNationBetween(Integer value1, Integer value2) {
            addCriterion("nation between ", value1, value2, "nation");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andNationNotBetween(Integer value1, Integer value2) {
            addCriterion("nation not between ", value1, value2, "nation");
            return (CodeFamilyMemberToImprCriteria) this;
        }
        public CodeFamilyMemberToImprCriteria andPoliticalIsNull() {
            addCriterion("political is null");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andPoliticalIsNotNull() {
            addCriterion("political is not null");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andPoliticalEqualTo(Integer value) {
            addCriterion("political =", value, "political");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andPoliticalNotEqualTo(Integer value) {
            addCriterion("political <>", value, "political");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andPoliticalGreaterThan(Integer value) {
            addCriterion("political >", value, "political");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andPoliticalGreaterThanOrEqualTo(Integer value) {
            addCriterion("political >=", value, "political");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andPoliticalLessThan(Integer value) {
            addCriterion("political <", value, "political");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andPoliticalLessThanOrEqualTo(Integer value) {
            addCriterion("political <=", value, "political");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andPoliticalLike(Integer value) {
            addCriterion("political like ", value, "political", 1);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andPoliticalNotLike(Integer value) {
            addCriterion("political  not like ", value, "political", 1);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andPoliticalLeftLike(Integer value) {
            addCriterion("political like ", value, "political", 0);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andPoliticalNotLeftLike(Integer value) {
            addCriterion("political  not like ", value, "political", 0);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andPoliticalRightLike(Integer value) {
            addCriterion("political like ", value, "political", 2);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andPoliticalNotRightLike(Integer value) {
            addCriterion("political  not like ", value, "political", 2);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andPoliticalIn(List<Integer> values) {
            addCriterion("political  in ", values, "political");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andPoliticalNotIn(List<Integer> values) {
            addCriterion("political not in ", values, "political");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andPoliticalBetween(Integer value1, Integer value2) {
            addCriterion("political between ", value1, value2, "political");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andPoliticalNotBetween(Integer value1, Integer value2) {
            addCriterion("political not between ", value1, value2, "political");
            return (CodeFamilyMemberToImprCriteria) this;
        }
        public CodeFamilyMemberToImprCriteria andPoliticalNameIsNull() {
            addCriterion("political_name is null");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andPoliticalNameIsNotNull() {
            addCriterion("political_name is not null");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andPoliticalNameEqualTo(String value) {
            addCriterion("political_name =", value, "political_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andPoliticalNameNotEqualTo(String value) {
            addCriterion("political_name <>", value, "political_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andPoliticalNameGreaterThan(String value) {
            addCriterion("political_name >", value, "political_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andPoliticalNameGreaterThanOrEqualTo(String value) {
            addCriterion("political_name >=", value, "political_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andPoliticalNameLessThan(String value) {
            addCriterion("political_name <", value, "political_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andPoliticalNameLessThanOrEqualTo(String value) {
            addCriterion("political_name <=", value, "political_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andPoliticalNameLike(String value) {
            addCriterion("political_name like ", value, "political_name", 1);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andPoliticalNameNotLike(String value) {
            addCriterion("political_name  not like ", value, "political_name", 1);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andPoliticalNameLeftLike(String value) {
            addCriterion("political_name like ", value, "political_name", 0);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andPoliticalNameNotLeftLike(String value) {
            addCriterion("political_name  not like ", value, "political_name", 0);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andPoliticalNameRightLike(String value) {
            addCriterion("political_name like ", value, "political_name", 2);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andPoliticalNameNotRightLike(String value) {
            addCriterion("political_name  not like ", value, "political_name", 2);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andPoliticalNameIn(List<String> values) {
            addCriterion("political_name  in ", values, "political_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andPoliticalNameNotIn(List<String> values) {
            addCriterion("political_name not in ", values, "political_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andPoliticalNameBetween(String value1, String value2) {
            addCriterion("political_name between ", value1, value2, "political_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andPoliticalNameNotBetween(String value1, String value2) {
            addCriterion("political_name not between ", value1, value2, "political_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }
        public CodeFamilyMemberToImprCriteria andEducationLevelIsNull() {
            addCriterion("education_level is null");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andEducationLevelIsNotNull() {
            addCriterion("education_level is not null");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andEducationLevelEqualTo(Integer value) {
            addCriterion("education_level =", value, "education_level");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andEducationLevelNotEqualTo(Integer value) {
            addCriterion("education_level <>", value, "education_level");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andEducationLevelGreaterThan(Integer value) {
            addCriterion("education_level >", value, "education_level");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andEducationLevelGreaterThanOrEqualTo(Integer value) {
            addCriterion("education_level >=", value, "education_level");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andEducationLevelLessThan(Integer value) {
            addCriterion("education_level <", value, "education_level");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andEducationLevelLessThanOrEqualTo(Integer value) {
            addCriterion("education_level <=", value, "education_level");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andEducationLevelLike(Integer value) {
            addCriterion("education_level like ", value, "education_level", 1);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andEducationLevelNotLike(Integer value) {
            addCriterion("education_level  not like ", value, "education_level", 1);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andEducationLevelLeftLike(Integer value) {
            addCriterion("education_level like ", value, "education_level", 0);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andEducationLevelNotLeftLike(Integer value) {
            addCriterion("education_level  not like ", value, "education_level", 0);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andEducationLevelRightLike(Integer value) {
            addCriterion("education_level like ", value, "education_level", 2);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andEducationLevelNotRightLike(Integer value) {
            addCriterion("education_level  not like ", value, "education_level", 2);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andEducationLevelIn(List<Integer> values) {
            addCriterion("education_level  in ", values, "education_level");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andEducationLevelNotIn(List<Integer> values) {
            addCriterion("education_level not in ", values, "education_level");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andEducationLevelBetween(Integer value1, Integer value2) {
            addCriterion("education_level between ", value1, value2, "education_level");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andEducationLevelNotBetween(Integer value1, Integer value2) {
            addCriterion("education_level not between ", value1, value2, "education_level");
            return (CodeFamilyMemberToImprCriteria) this;
        }
        public CodeFamilyMemberToImprCriteria andStudentStateIsNull() {
            addCriterion("student_state is null");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andStudentStateIsNotNull() {
            addCriterion("student_state is not null");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andStudentStateEqualTo(Integer value) {
            addCriterion("student_state =", value, "student_state");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andStudentStateNotEqualTo(Integer value) {
            addCriterion("student_state <>", value, "student_state");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andStudentStateGreaterThan(Integer value) {
            addCriterion("student_state >", value, "student_state");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andStudentStateGreaterThanOrEqualTo(Integer value) {
            addCriterion("student_state >=", value, "student_state");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andStudentStateLessThan(Integer value) {
            addCriterion("student_state <", value, "student_state");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andStudentStateLessThanOrEqualTo(Integer value) {
            addCriterion("student_state <=", value, "student_state");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andStudentStateLike(Integer value) {
            addCriterion("student_state like ", value, "student_state", 1);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andStudentStateNotLike(Integer value) {
            addCriterion("student_state  not like ", value, "student_state", 1);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andStudentStateLeftLike(Integer value) {
            addCriterion("student_state like ", value, "student_state", 0);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andStudentStateNotLeftLike(Integer value) {
            addCriterion("student_state  not like ", value, "student_state", 0);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andStudentStateRightLike(Integer value) {
            addCriterion("student_state like ", value, "student_state", 2);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andStudentStateNotRightLike(Integer value) {
            addCriterion("student_state  not like ", value, "student_state", 2);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andStudentStateIn(List<Integer> values) {
            addCriterion("student_state  in ", values, "student_state");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andStudentStateNotIn(List<Integer> values) {
            addCriterion("student_state not in ", values, "student_state");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andStudentStateBetween(Integer value1, Integer value2) {
            addCriterion("student_state between ", value1, value2, "student_state");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andStudentStateNotBetween(Integer value1, Integer value2) {
            addCriterion("student_state not between ", value1, value2, "student_state");
            return (CodeFamilyMemberToImprCriteria) this;
        }
        public CodeFamilyMemberToImprCriteria andHealthStateIsNull() {
            addCriterion("health_state is null");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andHealthStateIsNotNull() {
            addCriterion("health_state is not null");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andHealthStateEqualTo(Integer value) {
            addCriterion("health_state =", value, "health_state");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andHealthStateNotEqualTo(Integer value) {
            addCriterion("health_state <>", value, "health_state");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andHealthStateGreaterThan(Integer value) {
            addCriterion("health_state >", value, "health_state");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andHealthStateGreaterThanOrEqualTo(Integer value) {
            addCriterion("health_state >=", value, "health_state");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andHealthStateLessThan(Integer value) {
            addCriterion("health_state <", value, "health_state");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andHealthStateLessThanOrEqualTo(Integer value) {
            addCriterion("health_state <=", value, "health_state");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andHealthStateLike(Integer value) {
            addCriterion("health_state like ", value, "health_state", 1);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andHealthStateNotLike(Integer value) {
            addCriterion("health_state  not like ", value, "health_state", 1);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andHealthStateLeftLike(Integer value) {
            addCriterion("health_state like ", value, "health_state", 0);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andHealthStateNotLeftLike(Integer value) {
            addCriterion("health_state  not like ", value, "health_state", 0);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andHealthStateRightLike(Integer value) {
            addCriterion("health_state like ", value, "health_state", 2);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andHealthStateNotRightLike(Integer value) {
            addCriterion("health_state  not like ", value, "health_state", 2);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andHealthStateIn(List<Integer> values) {
            addCriterion("health_state  in ", values, "health_state");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andHealthStateNotIn(List<Integer> values) {
            addCriterion("health_state not in ", values, "health_state");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andHealthStateBetween(Integer value1, Integer value2) {
            addCriterion("health_state between ", value1, value2, "health_state");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andHealthStateNotBetween(Integer value1, Integer value2) {
            addCriterion("health_state not between ", value1, value2, "health_state");
            return (CodeFamilyMemberToImprCriteria) this;
        }
        public CodeFamilyMemberToImprCriteria andIsArmyIsNull() {
            addCriterion("is_army is null");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andIsArmyIsNotNull() {
            addCriterion("is_army is not null");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andIsArmyEqualTo(Integer value) {
            addCriterion("is_army =", value, "is_army");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andIsArmyNotEqualTo(Integer value) {
            addCriterion("is_army <>", value, "is_army");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andIsArmyGreaterThan(Integer value) {
            addCriterion("is_army >", value, "is_army");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andIsArmyGreaterThanOrEqualTo(Integer value) {
            addCriterion("is_army >=", value, "is_army");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andIsArmyLessThan(Integer value) {
            addCriterion("is_army <", value, "is_army");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andIsArmyLessThanOrEqualTo(Integer value) {
            addCriterion("is_army <=", value, "is_army");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andIsArmyLike(Integer value) {
            addCriterion("is_army like ", value, "is_army", 1);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andIsArmyNotLike(Integer value) {
            addCriterion("is_army  not like ", value, "is_army", 1);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andIsArmyLeftLike(Integer value) {
            addCriterion("is_army like ", value, "is_army", 0);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andIsArmyNotLeftLike(Integer value) {
            addCriterion("is_army  not like ", value, "is_army", 0);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andIsArmyRightLike(Integer value) {
            addCriterion("is_army like ", value, "is_army", 2);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andIsArmyNotRightLike(Integer value) {
            addCriterion("is_army  not like ", value, "is_army", 2);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andIsArmyIn(List<Integer> values) {
            addCriterion("is_army  in ", values, "is_army");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andIsArmyNotIn(List<Integer> values) {
            addCriterion("is_army not in ", values, "is_army");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andIsArmyBetween(Integer value1, Integer value2) {
            addCriterion("is_army between ", value1, value2, "is_army");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andIsArmyNotBetween(Integer value1, Integer value2) {
            addCriterion("is_army not between ", value1, value2, "is_army");
            return (CodeFamilyMemberToImprCriteria) this;
        }
        public CodeFamilyMemberToImprCriteria andIsArmyNameIsNull() {
            addCriterion("is_army_name is null");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andIsArmyNameIsNotNull() {
            addCriterion("is_army_name is not null");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andIsArmyNameEqualTo(String value) {
            addCriterion("is_army_name =", value, "is_army_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andIsArmyNameNotEqualTo(String value) {
            addCriterion("is_army_name <>", value, "is_army_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andIsArmyNameGreaterThan(String value) {
            addCriterion("is_army_name >", value, "is_army_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andIsArmyNameGreaterThanOrEqualTo(String value) {
            addCriterion("is_army_name >=", value, "is_army_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andIsArmyNameLessThan(String value) {
            addCriterion("is_army_name <", value, "is_army_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andIsArmyNameLessThanOrEqualTo(String value) {
            addCriterion("is_army_name <=", value, "is_army_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andIsArmyNameLike(String value) {
            addCriterion("is_army_name like ", value, "is_army_name", 1);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andIsArmyNameNotLike(String value) {
            addCriterion("is_army_name  not like ", value, "is_army_name", 1);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andIsArmyNameLeftLike(String value) {
            addCriterion("is_army_name like ", value, "is_army_name", 0);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andIsArmyNameNotLeftLike(String value) {
            addCriterion("is_army_name  not like ", value, "is_army_name", 0);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andIsArmyNameRightLike(String value) {
            addCriterion("is_army_name like ", value, "is_army_name", 2);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andIsArmyNameNotRightLike(String value) {
            addCriterion("is_army_name  not like ", value, "is_army_name", 2);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andIsArmyNameIn(List<String> values) {
            addCriterion("is_army_name  in ", values, "is_army_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andIsArmyNameNotIn(List<String> values) {
            addCriterion("is_army_name not in ", values, "is_army_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andIsArmyNameBetween(String value1, String value2) {
            addCriterion("is_army_name between ", value1, value2, "is_army_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andIsArmyNameNotBetween(String value1, String value2) {
            addCriterion("is_army_name not between ", value1, value2, "is_army_name");
            return (CodeFamilyMemberToImprCriteria) this;
        }
        public CodeFamilyMemberToImprCriteria andWorkSkillIsNull() {
            addCriterion("work_skill is null");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andWorkSkillIsNotNull() {
            addCriterion("work_skill is not null");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andWorkSkillEqualTo(Integer value) {
            addCriterion("work_skill =", value, "work_skill");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andWorkSkillNotEqualTo(Integer value) {
            addCriterion("work_skill <>", value, "work_skill");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andWorkSkillGreaterThan(Integer value) {
            addCriterion("work_skill >", value, "work_skill");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andWorkSkillGreaterThanOrEqualTo(Integer value) {
            addCriterion("work_skill >=", value, "work_skill");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andWorkSkillLessThan(Integer value) {
            addCriterion("work_skill <", value, "work_skill");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andWorkSkillLessThanOrEqualTo(Integer value) {
            addCriterion("work_skill <=", value, "work_skill");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andWorkSkillLike(Integer value) {
            addCriterion("work_skill like ", value, "work_skill", 1);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andWorkSkillNotLike(Integer value) {
            addCriterion("work_skill  not like ", value, "work_skill", 1);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andWorkSkillLeftLike(Integer value) {
            addCriterion("work_skill like ", value, "work_skill", 0);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andWorkSkillNotLeftLike(Integer value) {
            addCriterion("work_skill  not like ", value, "work_skill", 0);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andWorkSkillRightLike(Integer value) {
            addCriterion("work_skill like ", value, "work_skill", 2);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andWorkSkillNotRightLike(Integer value) {
            addCriterion("work_skill  not like ", value, "work_skill", 2);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andWorkSkillIn(List<Integer> values) {
            addCriterion("work_skill  in ", values, "work_skill");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andWorkSkillNotIn(List<Integer> values) {
            addCriterion("work_skill not in ", values, "work_skill");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andWorkSkillBetween(Integer value1, Integer value2) {
            addCriterion("work_skill between ", value1, value2, "work_skill");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andWorkSkillNotBetween(Integer value1, Integer value2) {
            addCriterion("work_skill not between ", value1, value2, "work_skill");
            return (CodeFamilyMemberToImprCriteria) this;
        }
        public CodeFamilyMemberToImprCriteria andWorkStateIsNull() {
            addCriterion("work_state is null");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andWorkStateIsNotNull() {
            addCriterion("work_state is not null");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andWorkStateEqualTo(Integer value) {
            addCriterion("work_state =", value, "work_state");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andWorkStateNotEqualTo(Integer value) {
            addCriterion("work_state <>", value, "work_state");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andWorkStateGreaterThan(Integer value) {
            addCriterion("work_state >", value, "work_state");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andWorkStateGreaterThanOrEqualTo(Integer value) {
            addCriterion("work_state >=", value, "work_state");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andWorkStateLessThan(Integer value) {
            addCriterion("work_state <", value, "work_state");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andWorkStateLessThanOrEqualTo(Integer value) {
            addCriterion("work_state <=", value, "work_state");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andWorkStateLike(Integer value) {
            addCriterion("work_state like ", value, "work_state", 1);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andWorkStateNotLike(Integer value) {
            addCriterion("work_state  not like ", value, "work_state", 1);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andWorkStateLeftLike(Integer value) {
            addCriterion("work_state like ", value, "work_state", 0);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andWorkStateNotLeftLike(Integer value) {
            addCriterion("work_state  not like ", value, "work_state", 0);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andWorkStateRightLike(Integer value) {
            addCriterion("work_state like ", value, "work_state", 2);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andWorkStateNotRightLike(Integer value) {
            addCriterion("work_state  not like ", value, "work_state", 2);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andWorkStateIn(List<Integer> values) {
            addCriterion("work_state  in ", values, "work_state");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andWorkStateNotIn(List<Integer> values) {
            addCriterion("work_state not in ", values, "work_state");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andWorkStateBetween(Integer value1, Integer value2) {
            addCriterion("work_state between ", value1, value2, "work_state");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andWorkStateNotBetween(Integer value1, Integer value2) {
            addCriterion("work_state not between ", value1, value2, "work_state");
            return (CodeFamilyMemberToImprCriteria) this;
        }
        public CodeFamilyMemberToImprCriteria andIsInsuranceIsNull() {
            addCriterion("is_insurance is null");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andIsInsuranceIsNotNull() {
            addCriterion("is_insurance is not null");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andIsInsuranceEqualTo(Integer value) {
            addCriterion("is_insurance =", value, "is_insurance");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andIsInsuranceNotEqualTo(Integer value) {
            addCriterion("is_insurance <>", value, "is_insurance");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andIsInsuranceGreaterThan(Integer value) {
            addCriterion("is_insurance >", value, "is_insurance");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andIsInsuranceGreaterThanOrEqualTo(Integer value) {
            addCriterion("is_insurance >=", value, "is_insurance");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andIsInsuranceLessThan(Integer value) {
            addCriterion("is_insurance <", value, "is_insurance");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andIsInsuranceLessThanOrEqualTo(Integer value) {
            addCriterion("is_insurance <=", value, "is_insurance");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andIsInsuranceLike(Integer value) {
            addCriterion("is_insurance like ", value, "is_insurance", 1);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andIsInsuranceNotLike(Integer value) {
            addCriterion("is_insurance  not like ", value, "is_insurance", 1);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andIsInsuranceLeftLike(Integer value) {
            addCriterion("is_insurance like ", value, "is_insurance", 0);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andIsInsuranceNotLeftLike(Integer value) {
            addCriterion("is_insurance  not like ", value, "is_insurance", 0);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andIsInsuranceRightLike(Integer value) {
            addCriterion("is_insurance like ", value, "is_insurance", 2);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andIsInsuranceNotRightLike(Integer value) {
            addCriterion("is_insurance  not like ", value, "is_insurance", 2);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andIsInsuranceIn(List<Integer> values) {
            addCriterion("is_insurance  in ", values, "is_insurance");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andIsInsuranceNotIn(List<Integer> values) {
            addCriterion("is_insurance not in ", values, "is_insurance");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andIsInsuranceBetween(Integer value1, Integer value2) {
            addCriterion("is_insurance between ", value1, value2, "is_insurance");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andIsInsuranceNotBetween(Integer value1, Integer value2) {
            addCriterion("is_insurance not between ", value1, value2, "is_insurance");
            return (CodeFamilyMemberToImprCriteria) this;
        }
        public CodeFamilyMemberToImprCriteria andAidMainStaffIsNull() {
            addCriterion("aid_main_staff is null");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andAidMainStaffIsNotNull() {
            addCriterion("aid_main_staff is not null");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andAidMainStaffEqualTo(Integer value) {
            addCriterion("aid_main_staff =", value, "aid_main_staff");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andAidMainStaffNotEqualTo(Integer value) {
            addCriterion("aid_main_staff <>", value, "aid_main_staff");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andAidMainStaffGreaterThan(Integer value) {
            addCriterion("aid_main_staff >", value, "aid_main_staff");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andAidMainStaffGreaterThanOrEqualTo(Integer value) {
            addCriterion("aid_main_staff >=", value, "aid_main_staff");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andAidMainStaffLessThan(Integer value) {
            addCriterion("aid_main_staff <", value, "aid_main_staff");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andAidMainStaffLessThanOrEqualTo(Integer value) {
            addCriterion("aid_main_staff <=", value, "aid_main_staff");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andAidMainStaffLike(Integer value) {
            addCriterion("aid_main_staff like ", value, "aid_main_staff", 1);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andAidMainStaffNotLike(Integer value) {
            addCriterion("aid_main_staff  not like ", value, "aid_main_staff", 1);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andAidMainStaffLeftLike(Integer value) {
            addCriterion("aid_main_staff like ", value, "aid_main_staff", 0);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andAidMainStaffNotLeftLike(Integer value) {
            addCriterion("aid_main_staff  not like ", value, "aid_main_staff", 0);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andAidMainStaffRightLike(Integer value) {
            addCriterion("aid_main_staff like ", value, "aid_main_staff", 2);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andAidMainStaffNotRightLike(Integer value) {
            addCriterion("aid_main_staff  not like ", value, "aid_main_staff", 2);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andAidMainStaffIn(List<Integer> values) {
            addCriterion("aid_main_staff  in ", values, "aid_main_staff");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andAidMainStaffNotIn(List<Integer> values) {
            addCriterion("aid_main_staff not in ", values, "aid_main_staff");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andAidMainStaffBetween(Integer value1, Integer value2) {
            addCriterion("aid_main_staff between ", value1, value2, "aid_main_staff");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andAidMainStaffNotBetween(Integer value1, Integer value2) {
            addCriterion("aid_main_staff not between ", value1, value2, "aid_main_staff");
            return (CodeFamilyMemberToImprCriteria) this;
        }
        public CodeFamilyMemberToImprCriteria andVillageIdIsNull() {
            addCriterion("village_id is null");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andVillageIdIsNotNull() {
            addCriterion("village_id is not null");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andVillageIdEqualTo(Integer value) {
            addCriterion("village_id =", value, "village_id");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andVillageIdNotEqualTo(Integer value) {
            addCriterion("village_id <>", value, "village_id");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andVillageIdGreaterThan(Integer value) {
            addCriterion("village_id >", value, "village_id");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andVillageIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("village_id >=", value, "village_id");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andVillageIdLessThan(Integer value) {
            addCriterion("village_id <", value, "village_id");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andVillageIdLessThanOrEqualTo(Integer value) {
            addCriterion("village_id <=", value, "village_id");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andVillageIdLike(Integer value) {
            addCriterion("village_id like ", value, "village_id", 1);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andVillageIdNotLike(Integer value) {
            addCriterion("village_id  not like ", value, "village_id", 1);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andVillageIdLeftLike(Integer value) {
            addCriterion("village_id like ", value, "village_id", 0);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andVillageIdNotLeftLike(Integer value) {
            addCriterion("village_id  not like ", value, "village_id", 0);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andVillageIdRightLike(Integer value) {
            addCriterion("village_id like ", value, "village_id", 2);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andVillageIdNotRightLike(Integer value) {
            addCriterion("village_id  not like ", value, "village_id", 2);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andVillageIdIn(List<Integer> values) {
            addCriterion("village_id  in ", values, "village_id");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andVillageIdNotIn(List<Integer> values) {
            addCriterion("village_id not in ", values, "village_id");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andVillageIdBetween(Integer value1, Integer value2) {
            addCriterion("village_id between ", value1, value2, "village_id");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andVillageIdNotBetween(Integer value1, Integer value2) {
            addCriterion("village_id not between ", value1, value2, "village_id");
            return (CodeFamilyMemberToImprCriteria) this;
        }
        public CodeFamilyMemberToImprCriteria andFamilyIdIsNull() {
            addCriterion("family_id is null");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andFamilyIdIsNotNull() {
            addCriterion("family_id is not null");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andFamilyIdEqualTo(Integer value) {
            addCriterion("family_id =", value, "family_id");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andFamilyIdNotEqualTo(Integer value) {
            addCriterion("family_id <>", value, "family_id");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andFamilyIdGreaterThan(Integer value) {
            addCriterion("family_id >", value, "family_id");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andFamilyIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("family_id >=", value, "family_id");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andFamilyIdLessThan(Integer value) {
            addCriterion("family_id <", value, "family_id");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andFamilyIdLessThanOrEqualTo(Integer value) {
            addCriterion("family_id <=", value, "family_id");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andFamilyIdLike(Integer value) {
            addCriterion("family_id like ", value, "family_id", 1);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andFamilyIdNotLike(Integer value) {
            addCriterion("family_id  not like ", value, "family_id", 1);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andFamilyIdLeftLike(Integer value) {
            addCriterion("family_id like ", value, "family_id", 0);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andFamilyIdNotLeftLike(Integer value) {
            addCriterion("family_id  not like ", value, "family_id", 0);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andFamilyIdRightLike(Integer value) {
            addCriterion("family_id like ", value, "family_id", 2);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andFamilyIdNotRightLike(Integer value) {
            addCriterion("family_id  not like ", value, "family_id", 2);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andFamilyIdIn(List<Integer> values) {
            addCriterion("family_id  in ", values, "family_id");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andFamilyIdNotIn(List<Integer> values) {
            addCriterion("family_id not in ", values, "family_id");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andFamilyIdBetween(Integer value1, Integer value2) {
            addCriterion("family_id between ", value1, value2, "family_id");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andFamilyIdNotBetween(Integer value1, Integer value2) {
            addCriterion("family_id not between ", value1, value2, "family_id");
            return (CodeFamilyMemberToImprCriteria) this;
        }
        public CodeFamilyMemberToImprCriteria andFamilyMemeberIdIsNull() {
            addCriterion("family_memeber_id is null");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andFamilyMemeberIdIsNotNull() {
            addCriterion("family_memeber_id is not null");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andFamilyMemeberIdEqualTo(Integer value) {
            addCriterion("family_memeber_id =", value, "family_memeber_id");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andFamilyMemeberIdNotEqualTo(Integer value) {
            addCriterion("family_memeber_id <>", value, "family_memeber_id");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andFamilyMemeberIdGreaterThan(Integer value) {
            addCriterion("family_memeber_id >", value, "family_memeber_id");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andFamilyMemeberIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("family_memeber_id >=", value, "family_memeber_id");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andFamilyMemeberIdLessThan(Integer value) {
            addCriterion("family_memeber_id <", value, "family_memeber_id");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andFamilyMemeberIdLessThanOrEqualTo(Integer value) {
            addCriterion("family_memeber_id <=", value, "family_memeber_id");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andFamilyMemeberIdLike(Integer value) {
            addCriterion("family_memeber_id like ", value, "family_memeber_id", 1);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andFamilyMemeberIdNotLike(Integer value) {
            addCriterion("family_memeber_id  not like ", value, "family_memeber_id", 1);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andFamilyMemeberIdLeftLike(Integer value) {
            addCriterion("family_memeber_id like ", value, "family_memeber_id", 0);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andFamilyMemeberIdNotLeftLike(Integer value) {
            addCriterion("family_memeber_id  not like ", value, "family_memeber_id", 0);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andFamilyMemeberIdRightLike(Integer value) {
            addCriterion("family_memeber_id like ", value, "family_memeber_id", 2);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andFamilyMemeberIdNotRightLike(Integer value) {
            addCriterion("family_memeber_id  not like ", value, "family_memeber_id", 2);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andFamilyMemeberIdIn(List<Integer> values) {
            addCriterion("family_memeber_id  in ", values, "family_memeber_id");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andFamilyMemeberIdNotIn(List<Integer> values) {
            addCriterion("family_memeber_id not in ", values, "family_memeber_id");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andFamilyMemeberIdBetween(Integer value1, Integer value2) {
            addCriterion("family_memeber_id between ", value1, value2, "family_memeber_id");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andFamilyMemeberIdNotBetween(Integer value1, Integer value2) {
            addCriterion("family_memeber_id not between ", value1, value2, "family_memeber_id");
            return (CodeFamilyMemberToImprCriteria) this;
        }
        public CodeFamilyMemberToImprCriteria andPovertyStateDateIsNull() {
            addCriterion("POVERTY_STATE_DATE is null");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andPovertyStateDateIsNotNull() {
            addCriterion("POVERTY_STATE_DATE is not null");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andPovertyStateDateEqualTo(Date value) {
            addCriterion("POVERTY_STATE_DATE =", value, "POVERTY_STATE_DATE");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andPovertyStateDateNotEqualTo(Date value) {
            addCriterion("POVERTY_STATE_DATE <>", value, "POVERTY_STATE_DATE");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andPovertyStateDateGreaterThan(Date value) {
            addCriterion("POVERTY_STATE_DATE >", value, "POVERTY_STATE_DATE");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andPovertyStateDateGreaterThanOrEqualTo(Date value) {
            addCriterion("POVERTY_STATE_DATE >=", value, "POVERTY_STATE_DATE");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andPovertyStateDateLessThan(Date value) {
            addCriterion("POVERTY_STATE_DATE <", value, "POVERTY_STATE_DATE");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andPovertyStateDateLessThanOrEqualTo(Date value) {
            addCriterion("POVERTY_STATE_DATE <=", value, "POVERTY_STATE_DATE");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andPovertyStateDateLike(Date value) {
            addCriterion("POVERTY_STATE_DATE like ", value, "POVERTY_STATE_DATE", 1);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andPovertyStateDateNotLike(Date value) {
            addCriterion("POVERTY_STATE_DATE  not like ", value, "POVERTY_STATE_DATE", 1);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andPovertyStateDateLeftLike(Date value) {
            addCriterion("POVERTY_STATE_DATE like ", value, "POVERTY_STATE_DATE", 0);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andPovertyStateDateNotLeftLike(Date value) {
            addCriterion("POVERTY_STATE_DATE  not like ", value, "POVERTY_STATE_DATE", 0);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andPovertyStateDateRightLike(Date value) {
            addCriterion("POVERTY_STATE_DATE like ", value, "POVERTY_STATE_DATE", 2);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andPovertyStateDateNotRightLike(Date value) {
            addCriterion("POVERTY_STATE_DATE  not like ", value, "POVERTY_STATE_DATE", 2);
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andPovertyStateDateIn(List<Date> values) {
            addCriterion("POVERTY_STATE_DATE  in ", values, "POVERTY_STATE_DATE");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andPovertyStateDateNotIn(List<Date> values) {
            addCriterion("POVERTY_STATE_DATE not in ", values, "POVERTY_STATE_DATE");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andPovertyStateDateBetween(Date value1, Date value2) {
            addCriterion("POVERTY_STATE_DATE between ", value1, value2, "POVERTY_STATE_DATE");
            return (CodeFamilyMemberToImprCriteria) this;
        }

        public CodeFamilyMemberToImprCriteria andPovertyStateDateNotBetween(Date value1, Date value2) {
            addCriterion("POVERTY_STATE_DATE not between ", value1, value2, "POVERTY_STATE_DATE");
            return (CodeFamilyMemberToImprCriteria) this;
        }

    }

    public static class CodeFamilyMemberToImprCriteria extends GeneratedCriteria {

        protected CodeFamilyMemberToImprCriteria() {
            super();
        }
    }

    public static class CodeFamilyMemberToImprCriterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected CodeFamilyMemberToImprCriterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }
        protected CodeFamilyMemberToImprCriterion(String condition, Object value, int likeType) {
            this.condition = condition;
            if (likeType == 0) {
                this.value = "%" + value;
            }
            else if (likeType == 1) {
                this.value = "%" + value + "%";
            }
            else {
                this.value = value + "%";
            }
            this.typeHandler = null;
            this.singleValue = true;

        }

        protected CodeFamilyMemberToImprCriterion(String condition, Object value,
                String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            }
            else {
                this.singleValue = true;
            }
        }

        protected CodeFamilyMemberToImprCriterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected CodeFamilyMemberToImprCriterion(String condition, Object value,
                Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected CodeFamilyMemberToImprCriterion(String condition, Object value,
                Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}